remove test case triggering generic deletion bug

This test should be restored once the underlying issue is resolved (with the typo fixed).
This commit is contained in:
Veikka Tuominen committed 2022-10-27 01:31:05 +03:00
1 parent db799ae628
commit b12a5cea75
2 files changed
+1 -30

No files matched your search

+1
View File
@@ -3489,6 +3489,7 @@ pub fn destroyDecl(mod: *Module, decl_index: Decl.Index) void {
const errs = mod.comp.getAllErrorsAlloc() catch break :blk;
for (errs.list) |err| Compilation.AllErrors.Message.renderToStdErr(err, .no_color);
}
// TODO restore test case triggering this panic
@panic("Zig compiler bug: attempted to destroy declaration with an attached error");
}
const decl = mod.declPtr(decl_index);