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

feat: recursion support #87

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

polvalente
Copy link
Contributor

Improves the ideas from #61 for handling more edge cases

@polvalente
Copy link
Contributor Author

@emilsoman there are some minor details to fix, but the module_compiler tests are working correctly!

scope: %{},
has_effect: false,
current_signature: current_signature,
latest_called_function: if(env[:first_pass], do: env[:current_signature]),
Copy link
Member

Choose a reason for hiding this comment

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

Do we set first_pass to true anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was being set to true as the default value for the struct. This might need a refactor now that the struct has been removed.

init_env still sets it, but most tests don't call it

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