fix unittest
This commit is contained in:
@@ -490,7 +490,7 @@ class Parser
|
|||||||
switch(exp.type)
|
switch(exp.type)
|
||||||
{
|
{
|
||||||
case NodeType.Constant:
|
case NodeType.Constant:
|
||||||
return (cast(Constant)exp).value.integerValue;
|
return (cast(Constant)exp).value.castInteger;
|
||||||
case NodeType.BinaryOperator:
|
case NodeType.BinaryOperator:
|
||||||
{
|
{
|
||||||
auto binop = cast(BinaryOperator)exp;
|
auto binop = cast(BinaryOperator)exp;
|
||||||
|
|||||||
Reference in New Issue
Block a user