-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #2856 Drop special treatment of packages in findRef #2860
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
Conversation
This aligns behavior with scalac.
The fix is more complex than I would like (see comment in source code). If someone can reproduce the error locally without this commit and rack it down this would help enormously.
The PR is much nicer with only the fist commit. Unfortunately CI dies with a cyclic reference error in compileStdLib. If I compile locally even with the exact sequence of files as given it succeeds. I don't have the time to track this down so for the moment we have to live with an unnecessary complication. If someone feels courageous enough to follow up on this, please do! |
Revert this commit once scala/scala3#2860 is merged.
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.
There's no rush to get this fixed from my side. I've added a note in the ScalaPB community fork to revert the workaround once this gets merged.
I don't have much context to judge the quality of the the fix, but the pos test looks good 👍
Same here, and I tried rerunning the same commit on the CI and couldn't get it to fail either. This is pretty bad, but it also means that your commit might be completely unrelated to the problem. |
Let me go back a commit and see if the problem reappears. |
Hmm, it did reappear indeed, so I'm very confused by the fact that the same commit succeeded the CI on http://dotty-ci.epfl.ch/smarter/dotty/1. |
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.
LGTM anyway, but something to come back to.
I undid the undo. Mystery remains. |
This aligns behavior with scalac.