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
I did not notice such problems before, but recently I returned to my project and noticed that it stopped working.
Found out that this is because of pointers, as in the code example above.
The text was updated successfully, but these errors were encountered:
import std.file;
import std.stdio;
import msgpack;
struct S { byte[] a; byte[] b; byte[] c; }
void main()
{
S s1;
s1.a = [1,2,3,4,5];
s1.b = s1.a;
s1.c = s1.a[1..3];
}
I did not notice such problems before, but recently I returned to my project and noticed that it stopped working.
Found out that this is because of pointers, as in the code example above.
The text was updated successfully, but these errors were encountered: