010 no function calls in payload

○ Planned This feature is planned but not yet implemented.

DESIGN: Interceptor feature not yet implemented. Should produce compile error for function calls in payload constructors.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected compiler error

error[KORU002]: module not found: '$std/interceptors'
  --> tests/regression/300_ADVANCED_FEATURES/365_INTERCEPTORS/365_010_no_function_calls_in_payload/input.kz:12:1
    |
 12 | ~import "std/interceptors"
    | ^
  hint: check the import path, koru.json paths, and KORU_STDLIB/KORU_PATH environment variables