fix unittest

This commit is contained in:
otya128 committed 2016-12-03 20:46:25 +09:00
1 parent 6a5393b70c
commit b418b47713
1 file changed
+1 -1
+1 -1
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;