From b418b4771344f46e79379a56d41fc8d83d28432f Mon Sep 17 00:00:00 2001 From: otya128 Date: Sat, 3 Dec 2016 20:46:25 +0900 Subject: [PATCH] fix unittest --- SMILEBASIC/parser.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMILEBASIC/parser.d b/SMILEBASIC/parser.d index 2fc66cf..72e85c0 100644 --- a/SMILEBASIC/parser.d +++ b/SMILEBASIC/parser.d @@ -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;