| author | |
| committer | |
| log | baaf715d210e8a25598161cd2bc7a510c39b8a95 |
| tree | 4b9f85c45dff0b19a85a48bd7eed416e60c3c07f |
| parent | fcc7e378f87bd1ef7abd53ce3ff1d20d3baff578 |
The latest bugfix reverted this case to its old behavior (which is a
reasonable behavior to have).1 files changed, 1 insertions(+), 4 deletions(-)
test/cases/compile_errors/enum_field_value_references_nonexistent_circular.zig+1-4| ... | @@ -9,8 +9,5 @@ export fn entry() void { | ... | @@ -9,8 +9,5 @@ export fn entry() void { |
| 9 | const D = 1; | 9 | const D = 1; |
| 10 | 10 | ||
| 11 | // error | 11 | // error |
| 12 | // backend=stage2 | ||
| 13 | // target=native | ||
| 14 | // | 12 | // |
| 15 | // :2:13: error: enum 'tmp.Foo' has no member named 'B' | 13 | // :1:5: error: dependency loop detected |
| 16 | // :1:17: note: enum declared here |