nikaia check tests/X.nika inside a project prints another file’s refusalOpen and answer this issue on GitHub.
ready · opened 2026-10-29 · updated 2026-10-29 · 1 comment
Found while building #949 (b949 report).
When it is run inside tests/compiler, nikaia check tests/X.nika prints the refusal of another file (a_bang_after_a_name_is_not_a_second_statement) instead of X’s. The builder had to generate the .stderr files from a copy outside the project.
Probe: cd tests/compiler && nikaia check tests/a_mut_parameters_field_left_out_is_refused.nika, with any test whose expected refusal is not the bang test’s.
To build
check given a file inside a project reports that file’s findings, not the first refusal of the whole package (or it names both clearly).check).Triage (#982), class B: waits for P5b. project_for_file / packages_of_file in project.rs decide which file check FILE reports.
Generated by Claude Code