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

Only recursion check each library once #916

Merged
merged 16 commits into from
Dec 19, 2020
Merged

Conversation

jjcnn
Copy link
Contributor

@jjcnn jjcnn commented Nov 27, 2020

This should fix the problem with a contract importing two libraries L1 and L2 but L2 also importing L1.

@jjcnn
Copy link
Contributor Author

jjcnn commented Dec 1, 2020

Update: I have updated the typechecker as well, and the Polynetwork contract now works regardless of the order that the standard libraries are imported in.

@jjcnn
Copy link
Contributor Author

jjcnn commented Dec 18, 2020

@anton-trunov , @vaivaswatha : I'm happy with the positive test cases, but I'm not sure I'm covering enough cases with the negative ones. If you have some ideas I'm happy to add them, but if not I think it's ready to be merged to master.

@vaivaswatha
Copy link
Contributor

Nice test cases, thanks Jacob. LGTM

@jjcnn jjcnn merged commit 3b8bbb6 into master Dec 19, 2020
@jjcnn jjcnn deleted the triangular_import_problem branch December 19, 2020 07:20
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

3 participants