aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1832.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-08-13 11:31:39 +0200
committerMartin Odersky <odersky@gmail.com>2014-08-13 12:05:05 +0200
commit34f73ded3519a1df7d278685f3f33facd00f1c58 (patch)
tree3cf71a8baea0de46c9ca126a1ea2dbd6ea55c731 /tests/pos/t1832.scala
parent3558e07b8f3a604bfd67c721cdec3eb9db29e7eb (diff)
downloaddotty-34f73ded3519a1df7d278685f3f33facd00f1c58.tar.gz
dotty-34f73ded3519a1df7d278685f3f33facd00f1c58.tar.bz2
dotty-34f73ded3519a1df7d278685f3f33facd00f1c58.zip
Fix and enable RefChecks
RefChecks is now enabled. Some of the tests had to be fixed to be refchecks-correct.
Diffstat (limited to 'tests/pos/t1832.scala')
-rw-r--r--tests/pos/t1832.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/t1832.scala b/tests/pos/t1832.scala
index 9ad9703c2..c34fe4bfa 100644
--- a/tests/pos/t1832.scala
+++ b/tests/pos/t1832.scala
@@ -2,7 +2,7 @@ trait Cloning {
trait Foo
def fn(g: Any => Unit): Foo
- class Star { def *(a: Cloning.this.Foo): Cloning.this.Foo }
+ abstract class Star { def *(a: Cloning.this.Foo): Cloning.this.Foo }
implicit def mkStar(i: Int): Star = new Star { def *(a: Foo): Foo = null }