File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/ast Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1346,11 +1346,11 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
13461346 def tupleTypeTree (elems : List [Tree ])(implicit ctx : Context ): Tree = {
13471347 val arity = elems.length
13481348 if (arity <= Definitions .MaxTupleArity && defn.TupleType (arity) != null ) AppliedTypeTree (TypeTree (defn.TupleType (arity)), elems)
1349- else nestedPairsType (elems)
1349+ else nestedPairsTypeTree (elems)
13501350 }
13511351
13521352 /** Creates the nested pairs type tree repesentation of the type trees in `ts` */
1353- def nestedPairsType (ts : List [Tree ])(implicit ctx : Context ): Tree =
1353+ def nestedPairsTypeTree (ts : List [Tree ])(implicit ctx : Context ): Tree =
13541354 ts.foldRight[Tree ](TypeTree (defn.UnitType ))((x, acc) => AppliedTypeTree (TypeTree (defn.PairType ), x :: acc :: Nil ))
13551355
13561356 /** Replaces all positions in `tree` with zero-extent positions */
You can’t perform that action at this time.
0 commit comments