summaryrefslogtreecommitdiff
path: root/test/files/neg/tcpoly_variance.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-12-04 19:33:47 +0000
committerPaul Phillips <paulp@improving.org>2010-12-04 19:33:47 +0000
commit32ca2f2be6a027e2112bc1f8e10f99571caa4a8c (patch)
tree6d0fe6cfac2815088cfe09fe9bb23089109fc337 /test/files/neg/tcpoly_variance.check
parentb1e969a11b2b24f5883198dc0b90d9ab5513498b (diff)
downloadscala-32ca2f2be6a027e2112bc1f8e10f99571caa4a8c.tar.gz
scala-32ca2f2be6a027e2112bc1f8e10f99571caa4a8c.tar.bz2
scala-32ca2f2be6a027e2112bc1f8e10f99571caa4a8c.zip
Introducing scala.system, the product of a whir...
Introducing scala.system, the product of a whirlwind couple of hours. More useful stuff than you can shake three sticks at. See the scala.system package object. It's even documented. And since it has methods error and exit, proceeded to deprecate the ones in Predef. No review.
Diffstat (limited to 'test/files/neg/tcpoly_variance.check')
-rw-r--r--test/files/neg/tcpoly_variance.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/tcpoly_variance.check b/test/files/neg/tcpoly_variance.check
index 2df4b4d429..dfe48f9544 100644
--- a/test/files/neg/tcpoly_variance.check
+++ b/test/files/neg/tcpoly_variance.check
@@ -1,5 +1,5 @@
tcpoly_variance.scala:6: error: overriding method str in class A of type => m[java.lang.Object];
method str has incompatible type
- override def str: m[String] = error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object]
+ override def str: m[String] = system.error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object]
^
one error found