This commit is contained in:
nub31
2025-05-11 18:15:29 +02:00
parent 98669aabcc
commit 66fd6e3beb
2 changed files with 4 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ global func main() {
} }
while 1 == 1 { while 1 == 1 {
puts("loop"); puts("test");
break;
} }
} }

View File

@@ -549,10 +549,8 @@ public class Generator
{ {
return bool.Parse(literal.Literal) ? "1" : "0"; return bool.Parse(literal.Literal) ? "1" : "0";
} }
else
{ throw new NotSupportedException($"Literal {literal.LiteralType} is not supported");
throw new NotImplementedException();
}
} }
private string GenerateStructInitializer(StructInitializerNode structInitializer) private string GenerateStructInitializer(StructInitializerNode structInitializer)