diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-01-28 09:26:31 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-02-02 13:19:07 +0100 |
commit | 4c34280e5bb3e48db35d97d890e4f5f1c5fb3a26 (patch) | |
tree | d5207e6e38ff2fa80063693fc562613c1c29efbc /test/files/neg/t6666b.check | |
parent | fd6125428af90b02cb8969a53586f3551e275b0f (diff) | |
download | scala-4c34280e5bb3e48db35d97d890e4f5f1c5fb3a26.tar.gz scala-4c34280e5bb3e48db35d97d890e4f5f1c5fb3a26.tar.bz2 scala-4c34280e5bb3e48db35d97d890e4f5f1c5fb3a26.zip |
Add a test case from the comments of SI-6666.
This one lands in the new implementation restriction
which beats the VerifyError.
Diffstat (limited to 'test/files/neg/t6666b.check')
-rw-r--r-- | test/files/neg/t6666b.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6666b.check b/test/files/neg/t6666b.check new file mode 100644 index 0000000000..090bee800d --- /dev/null +++ b/test/files/neg/t6666b.check @@ -0,0 +1,4 @@ +t6666b.scala:6: error: Implementation restriction: access of object TreeOrd$1 from object TreeOrd$2, would require illegal premature access to the unconstructed `this` of class Test + implicit object TreeOrd extends Ordering[K](){ + ^ +one error found |