Closed WojciechMazur closed 11 months ago
- fieldAnnotations.collect { case '{ xmlns($namespace: b) } =>
+ fieldAnnotations.collect { case '{ xmlns[b]($namespace: b) } =>
import scala.quoted.*
final class Foo[T](ns: T)
def foo(using Quotes)(x: Expr[Any]): Unit =
x match
case '{ new Foo($y: b) } =>
Compiler version
Regression found in the Open Community Build in:
Compiler version
3.3.2-RC1-bin-20230629-90c59bd-NIGHTLY Bisect points to b7b13e5c8ffa110ea3fbc5667b636e7132850fdf
If you're not sure what version you're using, run
print scalaVersion
from sbt (if you're running scalac manually, usescalac -version
instead).Minimized code
Output (click arrow to expand)