[Issue 22926] importC: cast to D type alias in array length gives syntax error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 29 16:56:16 UTC 2022


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

--- Comment #3 from duser at neet.fi ---
requiring a keyword to cast D types would affect the ability to use types
defined in __builtins.di

there could be existing C code out there that does this:

  char cs[(__int32)1]; // with version (CRuntime_Microsoft)

this works with dmd v2.099.0 but fails with the syntax error on current dmd
nightly

--


More information about the Digitalmars-d-bugs mailing list