diff options
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 } |