Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jan 27, 2024

If a suspended macro refers back to a symbol in a previously compiled package object, report this as an error instead of crashing with a StaleSymbol exception.

There's unfortunately not a lot of info available at the point where the error is raised, so the error message is a bit vague. But it's better than crashing.

Fixes #19351

If a suspended macro refers back to a symbol in a previously compiled package
object, report this as an error instead of crashing with a StaleSymbol exception.

There's unfortunately not a lot of info available at the point where the error
is raised, so the error message is a bit vague. But it's better than crashing.
@odersky odersky linked an issue Jan 27, 2024 that may be closed by this pull request
@odersky odersky merged commit 321a614 into scala:main Jan 30, 2024
@odersky odersky deleted the fix-19351 branch January 30, 2024 13:58
@Kordyjan Kordyjan added this to the 3.4.1 milestone Feb 14, 2024
WojciechMazur added a commit that referenced this pull request Jul 1, 2024
… dependencies" to LTS (#20867)

Backports #19549 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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.

Stale symbol for top-level alias type in suspended compilation unit
3 participants