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/t7319.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/t7319.check')
-rw-r--r-- | test/files/run/t7319.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t7319.check b/test/files/run/t7319.check index 31923e7119..1dcb84c804 100644 --- a/test/files/run/t7319.check +++ b/test/files/run/t7319.check @@ -3,15 +3,15 @@ scala> class M[A] defined class M scala> implicit def ma0[A](a: A): M[A] = null -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' ma0: [A](a: A)M[A] scala> implicit def ma1[A](a: A): M[A] = null -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' ma1: [A](a: A)M[A] scala> def convert[F[X <: F[X]]](builder: F[_ <: F[_]]) = 0 -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' convert: [F[X <: F[X]]](builder: F[_ <: F[_]])Int scala> convert(Some[Int](0)) |