-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixes for isLegalPrefix change #22241
base: main
Are you sure you want to change the base?
Conversation
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.
This will hopefully fix more issues. I particularly like how the OpaqueInlineProxy was factored out into its own abstraction.
Except for one comment LGTM
@@ -768,6 +790,7 @@ class Inliner(val call: tpd.Tree)(using Context): | |||
override def typedSelect(tree: untpd.Select, pt: Type)(using Context): Tree = { | |||
val locked = ctx.typerState.ownedVars | |||
val qual1 = typed(tree.qualifier, shallowSelectionProto(tree.name, pt, this, tree.nameSpan)) | |||
selectionType(tree, qual1) // side-effect |
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.
It would be good to be more specific what side effect (error messages?, anything else?)
This should get in before the cutoff. |
Fixes #22062
Fixes #22068
Fixes #22070