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

attach orig-binding property (used for occurrence typing) #10

Closed
wants to merge 1 commit into from

Conversation

AlexKnauth
Copy link
Collaborator

This pull request changes the infer function so that when it's introducing variables into the environment, it attaches an extra property so that other rules can find the original variable with the original scopes. This is used for occurrence typing.

Is this the right way to do this? What if one of the attached sep properties happens to be the name orig-binding?

@AlexKnauth
Copy link
Collaborator Author

Closing because #12 is better for the current implementation of occurrence typing.

@AlexKnauth AlexKnauth closed this Jul 5, 2017
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.

None yet

1 participant