diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-09-09 16:59:43 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-09-09 18:20:01 +0200 |
commit | 24b0711f01dcb410ffd0454881f7a96073f92e16 (patch) | |
tree | da48f345062d67de9a6a344db556253d1d864bbc /test/files/neg/override.check | |
parent | adf2d3632b07eef4fc2303aef994e66584a73f49 (diff) | |
download | scala-24b0711f01dcb410ffd0454881f7a96073f92e16.tar.gz scala-24b0711f01dcb410ffd0454881f7a96073f92e16.tar.bz2 scala-24b0711f01dcb410ffd0454881f7a96073f92e16.zip |
SI-6276 Warn on def or val that trivially loops infinitely
Diffstat (limited to 'test/files/neg/override.check')
-rw-r--r-- | test/files/neg/override.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/override.check b/test/files/neg/override.check index fc152cb3b1..8be98bf4d0 100644 --- a/test/files/neg/override.check +++ b/test/files/neg/override.check @@ -1,5 +1,5 @@ override.scala:9: error: overriding type T in trait A with bounds >: Int <: Int; type T in trait B with bounds >: String <: String has incompatible type - lazy val x : A with B = x + lazy val x : A with B = {println(""); x} ^ one error found |