Fix omitted argument
This commit is contained in:
1 parent
757bf6cc48
commit
4abf299063
3 files changed
+13
-8
No files matched your search
@@ -486,7 +486,7 @@ class Compiler
|
||||
}
|
||||
void compileExpression(Expression exp, Scope sc)
|
||||
{
|
||||
if(!exp)
|
||||
if(!exp || exp.type == NodeType.VoidExpression)
|
||||
{
|
||||
genCodeImm(Value(ValueType.Void));
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user