www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21553] New: incorrect call to expressionSemantic() in


          Issue ID: 21553
           Summary: incorrect call to expressionSemantic() in
           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:


should be:

    sl = sl.expressionSemantic(sc);

otherwise the results of the function are lost.

Jan 17 2021