[Issue 16976] Implicit conversion from ulong to int in foreach_reverse
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Dec 16 14:57:23 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16976
--- Comment #1 from Sprink <sprink.noreply at gmail.com> ---
Correction:
inlining the array like that seems to work as the value is known. Using
anything else though it doesn't work.
int[] values = [ 0, 1, 2 ]; // dynamically
foreach_reverse(int i, v ; values)
{
// error
}
--
More information about the Digitalmars-d-bugs
mailing list