We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37200be commit e75cafeCopy full SHA for e75cafe
compiler/src/dotty/tools/dotc/transform/Splicing.scala
@@ -391,9 +391,7 @@ class Splicing extends MacroTransform:
391
Splice(closure, tpe)
392
393
private def quoted(expr: Tree)(using Context): Tree =
394
- untpd.Quote(expr).withBodyType(expr.tpe.widenTermRefExpr) // TODO do we need widenTermRefExpr?
395
- .select(nme.apply)
396
- .appliedTo(quotes.nn)
+ tpd.Quote(expr).select(nme.apply).appliedTo(quotes.nn)
397
398
/** Helper methods to construct trees calling methods in `Quotes.reflect` based on the current `quotes` tree */
399
private object reflect extends ReifiedReflect {
0 commit comments