fix unittest
This commit is contained in:
@@ -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