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
constS=struct {
foo: anytype,
};
comptime {
vars=S{
// error: array access of non-array type '(anytype)'
.foo= [2]u8{0,1},
};
// this works// var s = S{// .foo = 1,// };// var b = [2]u8{ 0, 1 };// s.foo = b;
}
The text was updated successfully, but these errors were encountered:
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Jul 15, 2020
The text was updated successfully, but these errors were encountered: