[Issue 18949] Array literals don't work with betterc
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 6 13:49:21 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18949
anonymous4 <dfj1esp02 at sneakemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |betterC
Hardware|x86 |All
OS|Windows |All
--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Technically it needs `in` attribute:
---
void takeArray(in int[] array)
{
}
void bar()
{
takeArray([1, 2, 3]);
}
---
--
More information about the Digitalmars-d-bugs
mailing list