[Issue 21992] New: importC: Error: variable is used as a type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 4 21:38:40 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21992

          Issue ID: 21992
           Summary: importC: Error: variable is used as a type
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

The parser is unable to handle ambiguity well for cast expressions.
---
int test()
{
  int i = 1;
  int j = (i) * 2;
}

--


More information about the Digitalmars-d-bugs mailing list