File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed
compiler/src/dotty/tools/dotc/transform
tests/pos-custom-args/captures Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -369,10 +369,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
369369 case UnApply (fun, implicits, patterns) =>
370370 // Reverse transform order for the same reason as in `app1` above.
371371 val patterns1 = transform(patterns)
372- val tree1 = cpy.UnApply (tree)(transform(fun), transform(implicits), patterns1)
373- // The pickling of UnApply trees uses the tpe of the tree,
374- // so we need to clean retains from it here
375- tree1.withType(transformAnnotsIn(CleanupRetains ()(tree1.tpe)))
372+ cpy.UnApply (tree)(transform(fun), transform(implicits), patterns1)
376373 case tree : TypeApply =>
377374 if tree.symbol == defn.QuotedTypeModule_of then
378375 ctx.compilationUnit.needsStaging = true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments