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 fe04dae commit 0daf178Copy full SHA for 0daf178
compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala
@@ -566,7 +566,7 @@ object QuoteMatcher {
566
* f has a method type `(x: Int): Int` and `f` maps to `g`, `p` should hold
567
* `g.apply(0)` because the type of `g` is `Int => Int` due to eta expansion.
568
*/
569
- case Apply(fun, args) if env.contains(tree.symbol) => transform(fun).select(nme.apply).appliedToArgs(args)
+ case Apply(fun, args) if env.contains(tree.symbol) => transform(fun).select(nme.apply).appliedToArgs(args.map(transform))
570
case tree: Ident => env.get(tree.symbol).flatMap(argsMap.get).getOrElse(tree)
571
case tree => super.transform(tree)
572
}.transform(tree)
0 commit comments