From 30109202ee1c4bdba5093503caa66ce6e4e623c0 Mon Sep 17 00:00:00 2001 From: Antonio Cunei Date: Tue, 22 Sep 2009 18:17:35 +0000 Subject: Rather surprisingly, after all the commotion ab... Rather surprisingly, after all the commotion about 2.7.6 and the pickler fix, there was still no test for the corresponding ticket(s). Now added. --- test/files/pos/t1896/D0.scala | 11 +++++++++++ test/files/pos/t1896/D1.scala | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 test/files/pos/t1896/D0.scala create mode 100644 test/files/pos/t1896/D1.scala (limited to 'test/files') diff --git a/test/files/pos/t1896/D0.scala b/test/files/pos/t1896/D0.scala new file mode 100644 index 0000000000..05febb24ff --- /dev/null +++ b/test/files/pos/t1896/D0.scala @@ -0,0 +1,11 @@ +package p + +class X[T] + +trait A { + def m(s:X[_]) {} +} + +trait B extends A { + def f { super.m(null) } +} diff --git a/test/files/pos/t1896/D1.scala b/test/files/pos/t1896/D1.scala new file mode 100644 index 0000000000..e1ab50679f --- /dev/null +++ b/test/files/pos/t1896/D1.scala @@ -0,0 +1,2 @@ +package p +class C extends B -- cgit v1.2.3