diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-07-08 18:45:11 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-07-09 00:50:16 -0700 |
commit | 7548d2265361ec605b67aaae50ef6504937da68c (patch) | |
tree | 4e824347293c917bd02678cba9a4d754db166306 /test/files/run/repl-no-imports-no-predef-power.check | |
parent | 7d94d553e960322472e274669bad1c47723c2d23 (diff) | |
download | scala-7548d2265361ec605b67aaae50ef6504937da68c.tar.gz scala-7548d2265361ec605b67aaae50ef6504937da68c.tar.bz2 scala-7548d2265361ec605b67aaae50ef6504937da68c.zip |
SI-8829 Let reporter customize retry message
"Re-run with -deprecation" is not always appropriate.
REPL gets to customize the message. The API includes the
setting and its name, because reflect Settings do not
have names. (!)
Diffstat (limited to 'test/files/run/repl-no-imports-no-predef-power.check')
-rw-r--r-- | test/files/run/repl-no-imports-no-predef-power.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/repl-no-imports-no-predef-power.check b/test/files/run/repl-no-imports-no-predef-power.check index a76db3dbc2..08f614eb60 100644 --- a/test/files/run/repl-no-imports-no-predef-power.check +++ b/test/files/run/repl-no-imports-no-predef-power.check @@ -7,11 +7,11 @@ Try :help or completions for vals._ and power._ scala> // guarding against "error: reference to global is ambiguous" scala> global.emptyValDef // "it is imported twice in the same scope by ..." -warning: there was one deprecation warning (since 2.11.0); re-run with -deprecation for details +warning: there was one deprecation warning (since 2.11.0); for details, enable `:setting -deprecation' or `:replay -deprecation' res0: $r.global.noSelfType.type = private val _ = _ scala> val tp = ArrayClass[scala.util.Random] // magic with tags -warning: there was one feature warning; re-run with -feature for details +warning: there was one feature warning; for details, enable `:setting -feature' or `:replay -feature' tp: $r.global.Type = Array[scala.util.Random] scala> tp.memberType(Array_apply) // evidence |