mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
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:
1 parent
db799ae628
commit
b12a5cea75
2 files changed
+1
-30
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user