Skip to content

Conversation

liufengyun
Copy link
Contributor

@liufengyun liufengyun commented Jan 14, 2021

Fix #8022: Refactor MoveStatics
Fix #11100: add test

We still keep two phases, but the code is simplified.

We cannot merge MoveStatics with CheckStatic because the early phases
are not able to handle static calls, thus it has to be at the end of
the pipeline.  Meanwhile, we want checks to happen as early as
possible, thus CheckStatic has to be in the beginning of the pipeline.
The logic is handled by the phase `SelectStatic`
@liufengyun liufengyun marked this pull request as ready for review January 15, 2021 11:31
@odersky odersky merged commit d98b760 into scala:master Jan 19, 2021
@odersky odersky deleted the fix-8022 branch January 19, 2021 09:10
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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.

Runtime crash of @static methods Refactor MoveStatic

3 participants