File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ package transform
44
55import core .Annotations .Annotation
66import core .Contexts .Context
7+ import core .Definitions
78import core .Flags ._
89import core .Names .Name
910import core .Symbols ._
@@ -191,6 +192,8 @@ object GenericSignatures {
191192 args.foreach(jsig(_))
192193 }
193194 }
195+ else if (sym == defn.PairClass && tp.tupleArity > Definitions .MaxTupleArity )
196+ jsig(defn.TupleXXLType )
194197 else if (isTypeParameterInSig(sym, sym0)) {
195198 assert(! sym.isAliasType, " Unexpected alias type: " + sym)
196199 typeParamSig(sym.name.lastPart)
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ object Inliner {
132132 tree,
133133 i """ |Maximal number of successive inlines ( ${ctx.settings.XmaxInlines .value}) exceeded,
134134 |Maybe this is caused by a recursive rewrite method?
135- |You can use -Xmax: inlines to change the limit. """ ,
135+ |You can use -Xmax- inlines to change the limit. """ ,
136136 (tree :: enclosingInlineds).last.pos
137137 )
138138 }
You can’t perform that action at this time.
0 commit comments