Closed
Description
The semantics still seem incomplete in this implementation.
Consider:
trait A { def foo: Int }
trait B extends A { def foo: Int = 1 }
val e0: Expr[A] = '{ new B }
val e1: Expr[Int] = '{ $e0.foo }
The quoted expression e1
will not match a pattern like '{ ($x: B).foo }
, but it should.
Originally posted by @LPTK in #10531 (comment)
Metadata
Metadata
Assignees
Labels
No labels