1
0

Fix OPTION STRICT

This commit is contained in:
otya128
2017-01-21 23:18:26 +09:00
parent 025fb673d4
commit ddc1e0c299

View File

@@ -126,6 +126,10 @@ class Function
{
//local変数をあたる
//それでもだめならOPTION STRICTならエラー
if (c.isStrictMode)
{
throw new UndefinedVariable();
}
this.variable[name] = VMVariable(var = ++variableIndex, c.getType(name));
}
return var;