型検査漏れを修正
This commit is contained in:
1 parent
1f0a0c0596
commit
5ce4d2d422
1 file changed
+3
@@ -558,6 +558,9 @@ class Operate : Code
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!l.isNumber || !r.isNumber)
|
||||
throw new TypeMismatch();
|
||||
|
||||
int li = l.integerValue;
|
||||
double ld = l.integerValue;
|
||||
if(l.type == ValueType.Double)
|
||||
|
||||
Reference in new issue
Block a user