digitalmars.D.bugs - [Issue 21553] New: incorrect call to expressionSemantic() in
- d-bugmail puremagic.com (20/20) Jan 17 2021 https://issues.dlang.org/show_bug.cgi?id=21553
https://issues.dlang.org/show_bug.cgi?id=21553 Issue ID: 21553 Summary: incorrect call to expressionSemantic() in statementsem.d Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com The line around 2778 in the SwitchStatement semantic code: sl.expressionSemantic(sc); should be: sl = sl.expressionSemantic(sc); otherwise the results of the function are lost. --
Jan 17 2021