Merge pull request #11837 from Vexu/stage2

Fix (nearly) all stage2 crashes when testing stdlib
This commit is contained in:
Andrew Kelley
2022-06-12 17:45:57 -04:00
committed by GitHub
43 changed files with 501 additions and 626 deletions
+1
View File
@@ -1062,6 +1062,7 @@ pub const Value = extern union {
sema_kit: ?Module.WipAnalysis,
) Module.CompileError!BigIntConst {
switch (val.tag()) {
.null_value,
.zero,
.bool_false,
.the_only_possible_value, // i0, u0