Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix function bodies being invoked during function declaration. #30

Merged
merged 5 commits into from
Mar 7, 2020
Merged

Fix function bodies being invoked during function declaration. #30

merged 5 commits into from
Mar 7, 2020

Conversation

RoboPhred
Copy link
Contributor

See issue #29

This MR removes the scopeVars parameter from walk as it was unused.

This MR adds a noExecute parameter to walk that suppresses CallExpression execution. However, CallExpression will still validate its content and return FAIL if needed.

This allows FunctionExpression to define a function without invoking that function's body.

@RoboPhred
Copy link
Contributor Author

Rebased to fix github username / email

Copy link
Member

@goto-bus-stop goto-bus-stop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants