diff options
author | Paul Phillips <paulp@improving.org> | 2011-12-27 10:36:27 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-01-02 14:37:36 -0800 |
commit | 5618b77ca8d89b8f44db062334ac2b0663596dee (patch) | |
tree | a05a60d34754a8516548322dffc71348ed8b53a1 /src/compiler/scala/tools/nsc/settings/ScalaSettings.scala | |
parent | 451e1dc2da16c1bb5a7a59488865df9294eeaf3e (diff) | |
download | scala-5618b77ca8d89b8f44db062334ac2b0663596dee.tar.gz scala-5618b77ca8d89b8f44db062334ac2b0663596dee.tar.bz2 scala-5618b77ca8d89b8f44db062334ac2b0663596dee.zip |
Added option -Xlog-reflective-calls.
A message is emitted when a reflective call is generated. We
can now be eager consumers of this since we purged all the reflective
calls at some point -- but without a backstop, they have been
slipping back in.
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/ScalaSettings.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/settings/ScalaSettings.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala index a712f4cba2..efd5323ce2 100644 --- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala @@ -68,6 +68,7 @@ trait ScalaSettings extends AbsScalaSettings val genPhaseGraph = StringSetting ("-Xgenerate-phase-graph", "file", "Generate the phase graphs (outputs .dot files) to fileX.dot.", "") val XlogImplicits = BooleanSetting ("-Xlog-implicits", "Show more detail on why some implicits are not applicable.") val logImplicitConv = BooleanSetting ("-Xlog-implicit-conversions", "Print a message whenever an implicit conversion is inserted.") + val logReflectiveCalls = BooleanSetting("-Xlog-reflective-calls", "Print a message when a reflective method call is generated") val maxClassfileName = IntSetting ("-Xmax-classfile-name", "Maximum filename length for generated classes", 255, Some((72, 255)), _ => None) val Xmigration28 = BooleanSetting ("-Xmigration", "Warn about constructs whose behavior may have changed between 2.7 and 2.8.") val nouescape = BooleanSetting ("-Xno-uescape", "Disable handling of \\u unicode escapes.") |