Skip to content

Commit 3922cce

Browse files
authored
Merge pull request #1876 from dotty-staging/lower-max-inlines
Fix #1875: Decrease -Xmax-inlines default to 32.
2 parents 621d11c + 0bb3af3 commit 3922cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/config/ScalaSettings.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ScalaSettings extends Settings.SettingGroup {
6969
val genPhaseGraph = StringSetting("-Xgenerate-phase-graph", "file", "Generate the phase graphs (outputs .dot files) to fileX.dot.", "")
7070
val XlogImplicits = BooleanSetting("-Xlog-implicits", "Show more detail on why some implicits are not applicable.")
7171
val XminImplicitSearchDepth = IntSetting("-Xmin-implicit-search-depth", "Set number of levels of implicit searches undertaken before checking for divergence.", 5)
72-
val xmaxInlines = IntSetting("-Xmax-inlines", "Maximal number of successive inlines", 70)
72+
val xmaxInlines = IntSetting("-Xmax-inlines", "Maximal number of successive inlines", 32)
7373
val logImplicitConv = BooleanSetting("-Xlog-implicit-conversions", "Print a message whenever an implicit conversion is inserted.")
7474
val logReflectiveCalls = BooleanSetting("-Xlog-reflective-calls", "Print a message when a reflective method call is generated")
7575
val logFreeTerms = BooleanSetting("-Xlog-free-terms", "Print a message when reification creates a free term.")

0 commit comments

Comments
 (0)