summaryrefslogtreecommitdiff
path: root/test cases/common/33 run program/test.json
AgeCommit message (Collapse)Author
2023-03-01interpreter: report FeatureNew for kwargs to project()Eli Schwartz
We need to know the project minimum version before evaluating the rest of the function. There's three basic approaches: - try to set it inside KwargInfo - just run a minimal version of func_project for this, then load everything after - drop down to the AST and set it before anything else In order to handle FeatureNew emitted by a FunctionNode evaluated before project() due to being inlined, such as `version: run_command()`, only option 3 suffices, the rest all happen way too late. Since we have just added AST handling support for erroring out, we can do that to set the version as well.