Drop spurious applies in unpickler and inliner#25195
Drop spurious applies in unpickler and inliner#25195odersky wants to merge 1 commit intoscala:mainfrom
Conversation
|
I originally wanted to change TypeAssigner so that it drops spurious def assignType(tree: untpd.Apply, fn: Tree, args: List[Tree])(using Context): Applyand the I did not write a test for the original problem which involved compilation with different Scala versions. Not sure our test framework can support that easily. @hamzaremmal, do you think you can add that test? |
Yes, I'll do that. |
|
Superseded by #25201. Closing since the branch name had the wrong issue number. |
Fixes #25133 (hopefully) by dropping spurious
Applynodes of parameterless methods that override some Java method.