diff options
Diffstat (limited to 'test/files/neg/vincent1.scala')
-rw-r--r-- | test/files/neg/vincent1.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/vincent1.scala b/test/files/neg/vincent1.scala index afcb9a94f4..53104be640 100644 --- a/test/files/neg/vincent1.scala +++ b/test/files/neg/vincent1.scala @@ -4,12 +4,12 @@ module test { trait B { type T; } - def functor(x: A): B with { type T = x.T } = - new B with { + def functor(x: A): B { type T = x.T } = + new B { type T = x.T; }; - val a = new A with { type T = String }; + val a = new A { type T = String }; val b = functor(a); val s: b.T = "coucou"; |