stage1: const_values_equal error union, improve remaining "TODO" panics

This commit is contained in:
Veikka Tuominen
2020-12-26 13:29:48 +02:00
parent 50e8c3882a
commit 795770bcb4
4 changed files with 44 additions and 27 deletions

View File

@@ -7855,9 +7855,9 @@ static LLVMValueRef gen_const_val(CodeGen *g, ZigValue *const_val, const char *n
case ZigTypeIdOpaque:
zig_unreachable();
case ZigTypeIdFnFrame:
zig_panic("TODO");
zig_panic("TODO: gen_const_val ZigTypeIdFnFrame");
case ZigTypeIdAnyFrame:
zig_panic("TODO");
zig_panic("TODO: gen_const_val ZigTypeIdAnyFrame");
}
zig_unreachable();
}