Fix OPTION STRICT
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user