-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Compiler crash when referencing type in quotes #18125
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
area:metaprogramming:quotes
Issues related to quotes and splices
itype:bug
itype:crash
regression
This worked in a previous version but doesn't anymore
Milestone
Comments
Workaround- fieldAnnotations.collect { case '{ xmlns($namespace: b) } =>
+ fieldAnnotations.collect { case '{ xmlns[b]($namespace: b) } => |
Minimizationimport scala.quoted.*
final class Foo[T](ns: T)
def foo(using Quotes)(x: Expr[Any]): Unit =
x match
case '{ new Foo($y: b) } => |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 4, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 13, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 13, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 18, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
smarter
added a commit
that referenced
this issue
Jul 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:metaprogramming:quotes
Issues related to quotes and splices
itype:bug
itype:crash
regression
This worked in a previous version but doesn't anymore
Compiler version
Regression found in the Open Community Build in:
Compiler version
3.3.2-RC1-bin-20230629-90c59bd-NIGHTLY
Bisect points to b7b13e5
If you're not sure what version you're using, run
print scalaVersion
from sbt(if you're running scalac manually, use
scalac -version
instead).Minimized code
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: