You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Didn't find an existing issue for this. Sorry, if missed.
As described here:
https://forum.dlang.org/post/iizchhylkxistlnbijzd@forum.dlang.org
There is an error during an attempt to fill an array of Nullable!uint during the execution of
void main()
{
import std.typecons;
Nullable!uint[] arr;
arr.length = 5;
arr[] = 1;
}
The suggested workaround is, currently, using a cast:
arr[] = cast(Nullable!uint)1;
Also an option would be:
import std.algorithm;
fill(arr, 1);
The text was updated successfully, but these errors were encountered:
sascha.orlov reported this on 2016-03-12T16:14:53Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=15792
CC List
Description
The text was updated successfully, but these errors were encountered: