Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix function evaluation in the backend with the NF (#7518)
- Create a dummy environment in CevalScriptBackend.runFrontEndWork instead of returning an empty environment, otherwise opening a new scope will fail. - Try to look up the function to evaluate in the cache before trying to instantiate it in CevalScript.cevalCallFunctionEvaluateOrGenerate2, since it will often already have been instantiated and trying to look it up in the environment will fail when using the NF.
- Loading branch information
Showing
3 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters