struct fields with no explicit type are not supported
the c++ codebase lets it slide the self hosted parser correctly reports a parse error
This commit is contained in:
parent
e6afea99a9
commit
ca49b6f6b4
@ -2,7 +2,6 @@
|
||||
|
||||
const struct_trailing_comma = struct { x: i32, y: i32, };
|
||||
const struct_no_comma = struct { x: i32, y: i32 };
|
||||
const struct_no_comma_void_type = struct { x: i32, y };
|
||||
const struct_fn_no_comma = struct { fn m() void {} y: i32 };
|
||||
|
||||
const enum_no_comma = enum { A, B };
|
||||
|
Loading…
x
Reference in New Issue
Block a user