fix unittest
This commit is contained in:
1 parent
6a5393b70c
commit
b418b47713
1 file changed
+1
-1
+1
-1
@@ -490,7 +490,7 @@ class Parser
|
||||
switch(exp.type)
|
||||
{
|
||||
case NodeType.Constant:
|
||||
return (cast(Constant)exp).value.integerValue;
|
||||
return (cast(Constant)exp).value.castInteger;
|
||||
case NodeType.BinaryOperator:
|
||||
{
|
||||
auto binop = cast(BinaryOperator)exp;
|
||||
|
||||
Reference in new issue
Block a user