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
4
4
5
5
import core .Annotations .Annotation
6
6
import core .Contexts .Context
7
+ import core .Definitions
7
8
import core .Flags ._
8
9
import core .Names .Name
9
10
import core .Symbols ._
@@ -191,6 +192,8 @@ object GenericSignatures {
191
192
args.foreach(jsig(_))
192
193
}
193
194
}
195
+ else if (sym == defn.PairClass && tp.tupleArity > Definitions .MaxTupleArity )
196
+ jsig(defn.TupleXXLType )
194
197
else if (isTypeParameterInSig(sym, sym0)) {
195
198
assert(! sym.isAliasType, " Unexpected alias type: " + sym)
196
199
typeParamSig(sym.name.lastPart)
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ object Inliner {
132
132
tree,
133
133
i """ |Maximal number of successive inlines ( ${ctx.settings.XmaxInlines .value}) exceeded,
134
134
|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. """ ,
136
136
(tree :: enclosingInlineds).last.pos
137
137
)
138
138
}
You can’t perform that action at this time.
0 commit comments