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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 27 10:18:46 UTC 2021


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Unfortunately, the (i)*2 can be parsed as either a multiply of i*2 or a cast of
*2 to type i.

This can only be distinguished in the semantic phase when what i is is known.

--


More information about the Digitalmars-d-bugs mailing list