summaryrefslogtreecommitdiff
path: root/test/files/run/t4172.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-08-06 14:05:24 -0700
committerPaul Phillips <paulp@improving.org>2012-08-06 15:03:22 -0700
commitfd3601a833baac6258d28687d1a73979f4369826 (patch)
tree3bd5dc91d21382f7a97c1c8641c324bcd4ce36c2 /test/files/run/t4172.check
parent963aabbeb45e042f4b0d6f5ec13edb0136cbf441 (diff)
downloadscala-fd3601a833baac6258d28687d1a73979f4369826.tar.gz
scala-fd3601a833baac6258d28687d1a73979f4369826.tar.bz2
scala-fd3601a833baac6258d28687d1a73979f4369826.zip
Restored :warnings to working order.
As seen here. scala> class A { @deprecated("foo") def a = 1 } warning: there were 1 deprecation warnings; re-run with -deprecation for details defined class A scala> :warnings <console>:7: warning: @deprecated now takes two arguments; see the scaladoc. class A { @deprecated("foo") def a = 1 } ^ scala> val x = 5 toString warning: there were 1 feature warnings; re-run with -feature for details x: String = 5 scala> :warnings <console>:7: warning: postfix operator toString should be enabled by making the implicit value language.postfixOps visible. This can be achieved by adding the import clause 'import language.postfixOps' or by setting the compiler option -language:postfixOps. See the Scala docs for value scala.language.postfixOps for a discussion why the feature should be explicitly enabled. val x = 5 toString ^
Diffstat (limited to 'test/files/run/t4172.check')
-rw-r--r--test/files/run/t4172.check1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/files/run/t4172.check b/test/files/run/t4172.check
index 4598e02d1f..f16c9e5151 100644
--- a/test/files/run/t4172.check
+++ b/test/files/run/t4172.check
@@ -5,7 +5,6 @@ scala>
scala> val c = { class C { override def toString = "C" }; ((new C, new C { def f = 2 })) }
warning: there were 1 feature warnings; re-run with -feature for details
-warning: there were 1 feature warnings; re-run with -feature for details
c: (C, C{def f: Int}) forSome { type C <: Object } = (C,C)
scala>