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.
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
Add test to show lib name collision in contexts #9839
Add test to show lib name collision in contexts #9839
Changes from 25 commits
51cd326
3143887
ea48974
1b40b42
a4d298c
822e046
00e26fa
25add02
0d6d8e2
df6a7dc
43dda0a
f292c15
d970da9
e53cbdf
dc82220
ee1da7d
28585d6
4f1b4a7
40eff23
fcf7960
0ea5c27
7f19d29
ff91664
422b666
cd54d89
b38558a
963a201
e9ede35
fa65065
c4d7be5
0252670
e0f9775
a8910d4
fb67ba9
11aa1e3
ff8289d
70e6ea7
619ea9d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this only seems to be used once. I'd probably inline it in its usage site.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need it for public libs as well (see failed attempt in 619ea9d).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like this is what does the heavy lifting in this PR:
foo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I tried to reflect in the inline comments. Would you change / improve anything to make it clearer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we excluding hidden libraries now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't skip hidden libs, then a bunch of tests will fail with this error:
The errors seem to come from the usage in
Ml_sources.modules
, I have started a separate PR to discuss this change: #10171There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module was just moved up to make
Local
available in scope forget_compile_info
.