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

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