Skip to content

Nested splice/quote fail trying to find value 'apply' #4044

Closed
@nicolasstucki

Description

@nicolasstucki

The following code which should work

import scala.quoted._
class Foo {
  val e: Expr[Int] = '(3)
  '{ ~( '{ ~e } ) }
}

fails with

value `apply` is not a member of scala.quoted.Expr[Int]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions