feat[tool]: add all imported modules to -f annotated_ast output#4209
Merged
charles-cooper merged 14 commits intovyperlang:masterfrom Oct 10, 2024
Merged
feat[tool]: add all imported modules to -f annotated_ast output#4209charles-cooper merged 14 commits intovyperlang:masterfrom
-f annotated_ast output#4209charles-cooper merged 14 commits intovyperlang:masterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4209 +/- ##
==========================================
- Coverage 91.35% 88.82% -2.53%
==========================================
Files 110 110
Lines 15789 15810 +21
Branches 2674 2678 +4
==========================================
- Hits 14424 14044 -380
- Misses 931 1256 +325
- Partials 434 510 +76 ☔ View full report in Codecov by Sentry. |
fubuloubu
approved these changes
Aug 11, 2024
pcaversaccio
approved these changes
Aug 12, 2024
cyberthirst
reviewed
Aug 27, 2024
vyper/compiler/output.py
Outdated
| # come from multiple InputBundles (particularly builtin interfaces), | ||
| # so source_id is not guaranteed to be unique. | ||
| if ast.resolved_path in unique_modules: | ||
| # sanity check -- object equality |
Collaborator
There was a problem hiding this comment.
is operator checks for identity, not equality
Member
Author
There was a problem hiding this comment.
yea, that's what I meant by object ("pointer") equality
cyberthirst
reviewed
Aug 28, 2024
Collaborator
|
can we add a test for recursive imports? |
cyberthirst
approved these changes
Aug 28, 2024
Member
Author
would you mind helping contribute these? |
Collaborator
|
with #4229 we could add the imports also to edit: fixed link |
Member
Author
yes, we could |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
How I did it
How to verify it
Commit message
Description for the changelog
Cute Animal Picture