-
Notifications
You must be signed in to change notification settings - Fork 1.1k
passing generate lambda as macro parameter produce tree with incorrect owner #11401
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
Labels
Milestone
Comments
It was a combination of bug in compiler and bug in test-case.
(difference is additional changeOwner after changeArgs) will submit fix with correct test-case
|
rssh
added a commit
to rssh/dotty
that referenced
this issue
Feb 27, 2021
rssh
added a commit
to rssh/dotty
that referenced
this issue
Feb 27, 2021
rssh
added a commit
to rssh/dotty
that referenced
this issue
Feb 27, 2021
(since boundSym is new, no need to use check in QuoteUtils.changeOwner)
nicolasstucki
added a commit
that referenced
this issue
Mar 1, 2021
fix #11401 (proxy parameter should be owned by proxy)
JakkuSakura
added a commit
to JakkuSakura/dotty
that referenced
this issue
Feb 14, 2022
…since boundSym is new, no need to use check in QuoteUtils.changeOwner)" This reverts commit 0241150 This might help fix scala#12508
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
Latest Dotty nightly build version: 3.0.0-M4-bin-20210212-0273336-NIGHTLY
Minimized code
X.scala
Main.scala
Compile options should include "-Ycheck:macros"
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: