[Issue 22926] importC: cast to D type alias in array length gives syntax error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 27 23:41:56 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22926
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
I'm thinking of adding __cast:
char cs[__cast(int32_t)1];
which will resolve the ambiguity.
--
More information about the Digitalmars-d-bugs
mailing list