1
0

fix unittest

This commit is contained in:
otya128
2016-12-03 20:46:25 +09:00
parent 6a5393b70c
commit b418b47713

View File

@@ -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;