File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ class TupleOptimizations extends MiniPhase with IdentityDenotTransformer {
2424 def phaseName : String = " genericTuples"
2525
2626 override def transformApply (tree : tpd.Apply )(implicit ctx : Context ): tpd.Tree = {
27- if (! tree.symbol.exists || tree.symbol.owner != defn.DynamicTupleModuleClass ) super .transformApply( tree)
27+ if (! tree.symbol.exists || tree.symbol.owner != defn.DynamicTupleModuleClass ) tree
2828 else if (tree.symbol == defn.DynamicTuple_dynamicCons ) transformTupleCons(tree)
2929 else if (tree.symbol == defn.DynamicTuple_dynamicTail ) transformTupleTail(tree)
3030 else if (tree.symbol == defn.DynamicTuple_dynamicSize ) transformTupleSize(tree)
3131 else if (tree.symbol == defn.DynamicTuple_dynamicConcat ) transformTupleConcat(tree)
3232 else if (tree.symbol == defn.DynamicTuple_dynamicApply ) transformTupleApply(tree)
3333 else if (tree.symbol == defn.DynamicTuple_dynamicToArray ) transformTupleToArray(tree)
34- else super .transformApply( tree)
34+ else tree
3535 }
3636
3737 private def transformTupleCons (tree : tpd.Apply )(implicit ctx : Context ): Tree = {
You can’t perform that action at this time.
0 commit comments