Hard-to-read ICEs when fluent translation uses non-existing variable #128340
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-translation
Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic
D-diagnostic-infra
Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When I screw up the variable names in a messages.flt file, I am getting the following error:
Needless to say, this is not exactly a pleasant debugging experience. Would be nice to get a clear message saying what went wrong. :)
In this case, the string
const_eval_pointer_out_of_bounds
referenced$pointer_xx
which does not exist.The text was updated successfully, but these errors were encountered: