Commit ca49b6f6b4

Andrew Kelley <superjoe30@gmail.com>
2018-05-25 06:39:05
struct fields with no explicit type are not supported
the c++ codebase lets it slide the self hosted parser correctly reports a parse error
1 parent e6afea9
Changed files (1)
test
test/cases/syntax.zig
@@ -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 };