From b12a5cea7559c4cd4666f142b3e05265b07fe323 Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Thu, 27 Oct 2022 01:00:33 +0300 Subject: remove test case triggering generic deletion bug This test should be restored once the underlying issue is resolved (with the typo fixed). --- src/Module.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Module.zig') diff --git a/src/Module.zig b/src/Module.zig index 9a395d72c4..a8ea63ffc9 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -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); -- cgit v1.2.3