summaryrefslogtreecommitdiff
path: root/test/files/run/t4542.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/t4542.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/t4542.check')
-rw-r--r--test/files/run/t4542.check3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/files/run/t4542.check b/test/files/run/t4542.check
index a0600ba859..cd7a2905e2 100644
--- a/test/files/run/t4542.check
+++ b/test/files/run/t4542.check
@@ -15,9 +15,6 @@ scala> val f = new Foo
<console>:8: warning: class Foo is deprecated: foooo
val f = new Foo
^
-<console>:5: warning: class Foo is deprecated: foooo
- lazy val $result = `f`
- ^
f: Foo = Bippy
scala>