digitalmars.D.bugs - [Issue 23000] New: final switch error has no line number with
- d-bugmail puremagic.com (28/28) Apr 09 2022 https://issues.dlang.org/show_bug.cgi?id=23000
https://issues.dlang.org/show_bug.cgi?id=23000 Issue ID: 23000 Summary: final switch error has no line number with -checkaction=C Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: duser neet.fi CC: duser neet.fi void main() { final switch (1) { case 2: break; } } $ dmd -checkaction=C -run test.d dmd_runsFHrKf: test.d:0: Assertion `0' failed. $ wine dmd -checkaction=C -run test.d Assertion failed: 0, file test.d, line 0 both show the line number as 0 --
Apr 09 2022