-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #7264: Propagate prototypes in quoted type patterns #7600
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
Conversation
9734709
to
cce5e02
Compare
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.
Can you try again with the changed version of baseType
? ie.
val exprPt = pt.baseType(if quoted.isType then defn.QuotedTypeClass else defn.QuotedExprClass)
I really would like to understand why that does not work, and why the alternative works. Otherwise LGTM.
b9a82f2
to
a4df497
Compare
Rebased |
a4df497
to
6f04d8e
Compare
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.
Looks good to me now
No description provided.