[Issue 21553] New: incorrect call to expressionSemantic() in statementsem.d
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 17 10:23:08 UTC 2021
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 at puremagic.com
Reporter: bugzilla at 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.
--
More information about the Digitalmars-d-bugs
mailing list