Lyricdev
GitHub

LYR-RT0017

control reached code the compiler holds unreachable

panic · spec 06-errors

Control arrived where the compiler knows it cannot arrive — behind a call that does not return, behind a match that covers every case. That is a bug in the compiler: the debug profile panics with this code; the release profile stops with the processor's trap, which the runtime reports as a crash. Report it with the program.

Example

$ lyric5 run
panic [LYR-RT0017]: control reached code the compiler holds unreachable
    at …
$ echo $?
101