From 1b32071acef5c7c2c08e21ee577c7cc709876ffa Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 3 May 2014 13:31:27 +0200 Subject: More tests --- tests/pos/t151.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/pos/t151.scala (limited to 'tests/pos/t151.scala') diff --git a/tests/pos/t151.scala b/tests/pos/t151.scala new file mode 100644 index 000000000..86667b49f --- /dev/null +++ b/tests/pos/t151.scala @@ -0,0 +1,6 @@ +abstract class Foo { + type T; + def foo(a: T): Int = 0; + val foo: Foo = null; + def a: foo.T = a; +} -- cgit v1.2.3