diff options
author | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 18:10:35 +0100 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 18:11:46 +0100 |
commit | 955b04a41ccefeac6bfec0158991c152165be6eb (patch) | |
tree | 1aa3649b0997b865c9dd4c2aa02bb4a9a6e37efb /tests/neg/i324.scala | |
parent | 5fc321ffaa0a0b6b997c0fdecf1a86590474d812 (diff) | |
download | dotty-955b04a41ccefeac6bfec0158991c152165be6eb.tar.gz dotty-955b04a41ccefeac6bfec0158991c152165be6eb.tar.bz2 dotty-955b04a41ccefeac6bfec0158991c152165be6eb.zip |
Adapt neg tests to new neg tests checks
Diffstat (limited to 'tests/neg/i324.scala')
-rw-r--r-- | tests/neg/i324.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/i324.scala b/tests/neg/i324.scala index 1d03a4d02..e36718a55 100644 --- a/tests/neg/i324.scala +++ b/tests/neg/i324.scala @@ -1,5 +1,5 @@ class O object O { - val x: this.type = OO.this - val y: O = OO.this + val x: this.type = OO.this // error: OO is not an enclosing class + val y: O = OO.this // error: OO is not an enclosing class } |