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

Backport to fix a REPL bad symbolic reference #19756

Closed
wants to merge 6 commits into from

Conversation

dwijnand
Copy link
Member

Fixes #15562

@dwijnand
Copy link
Member Author

@odersky see my comment at #15562 (comment), any suggestions on how we can fix this within the denotation update logic?

@dwijnand
Copy link
Member Author

Need to pull in the changes in #19786

odersky and others added 4 commits March 5, 2024 12:39
Using issue scala#18650 as the reference (but issue scala#18999 is another option)
building on the fix in PR scala#18719 (refined in PR scala#18727) as well as the
fix in PR scala#18760, I'm trying to make a more root change here by making
sure that message forcing only occurs with `hasErrors`/`errorsReported`
is true, so as to avoid assertion errors crashing the compiler.

(cherry picked from commit 10f2c10)
@dwijnand dwijnand force-pushed the repl-bad-symbolic-ref branch from 8d03e8c to 95377aa Compare March 5, 2024 12:40
@dwijnand dwijnand changed the base branch from release-3.3.2 to release-3.3.3 March 5, 2024 12:40
odersky added 2 commits March 6, 2024 13:10
 - Be more specific when we go into the special case of not
   updating checkedPeriod
 - Always update lastDenotation.
 - Keep computeDenot small, move work to recomputeDenot

(cherry picked from commit e79b2e9)
…ario

This brings back an element of the original solution.

(cherry picked from commit 5631d76)
@dwijnand dwijnand force-pushed the repl-bad-symbolic-ref branch from 95377aa to fb18037 Compare March 6, 2024 13:11
@dwijnand
Copy link
Member Author

dwijnand commented Mar 11, 2024

@Kordyjan Does CI work on the release-3.3.3 branch? I suspect that all these failures aren't due to the changes here. I could be wrong, but I just wanted to confirm the baseline.

@dwijnand dwijnand added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Mar 18, 2024
@dwijnand dwijnand assigned Kordyjan and unassigned dwijnand Mar 18, 2024
@dwijnand dwijnand closed this Apr 26, 2024
@dwijnand dwijnand deleted the repl-bad-symbolic-ref branch April 26, 2024 09:04
@WojciechMazur WojciechMazur removed the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Nov 8, 2024
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.

4 participants