- block access to private and protected data for the external variabler getter functions.
- fixed: The state index comparison against 0 was broken. - fixed: Resolving codegen nodes must set the strictness flag per function so that ZSCRIPT and DECORATE are done properly.
This commit is contained in:
parent
514bcfb128
commit
76c34d7b2f
4 changed files with 7 additions and 4 deletions
|
|
@ -713,6 +713,7 @@ void FFunctionBuildList::Build()
|
|||
ctx.FunctionArgs.Push(local);
|
||||
}
|
||||
|
||||
FScriptPosition::StrictErrors = !item.FromDecorate;
|
||||
item.Code = item.Code->Resolve(ctx);
|
||||
item.Proto = ctx.ReturnProto;
|
||||
|
||||
|
|
@ -758,4 +759,6 @@ void FFunctionBuildList::Build()
|
|||
fprintf(dump, "\n*************************************************************************\n%i code bytes\n", codesize * 4);
|
||||
fclose(dump);
|
||||
}
|
||||
FScriptPosition::StrictErrors = false;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue