diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-09-22 18:17:35 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-09-22 18:17:35 +0000 |
commit | 30109202ee1c4bdba5093503caa66ce6e4e623c0 (patch) | |
tree | e6eb717ece60d75004e43fc9e76070552551559a /test/files/pos/t1896 | |
parent | 4d8093722af1ada1842b189fcba8da99f8f7d92f (diff) | |
download | scala-30109202ee1c4bdba5093503caa66ce6e4e623c0.tar.gz scala-30109202ee1c4bdba5093503caa66ce6e4e623c0.tar.bz2 scala-30109202ee1c4bdba5093503caa66ce6e4e623c0.zip |
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.
Diffstat (limited to 'test/files/pos/t1896')
-rw-r--r-- | test/files/pos/t1896/D0.scala | 11 | ||||
-rw-r--r-- | test/files/pos/t1896/D1.scala | 2 |
2 files changed, 13 insertions, 0 deletions
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 |