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
2022-10-27 01:00:33 +03:00
parent db799ae628
commit b12a5cea75
2 changed files with 1 additions and 30 deletions

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);