January 17, 2021 [Issue 21553] New: incorrect call to expressionSemantic() in statementsem.d | ||||
|---|---|---|---|---|
| ||||
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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply