From bfa79972e4005f29fa997483c7f96f69ec5fdbc9 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Fri, 10 Oct 2014 15:04:55 +1000 Subject: SI-5454 Test case for another ticket fixed by the previous commit --- test/files/pos/t5454.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/pos/t5454.scala (limited to 'test/files/pos/t5454.scala') diff --git a/test/files/pos/t5454.scala b/test/files/pos/t5454.scala new file mode 100644 index 0000000000..4045f3b57b --- /dev/null +++ b/test/files/pos/t5454.scala @@ -0,0 +1,10 @@ +object IllegalInheritance { + trait A + implicit def a = new A {} // def => val + //val r = implicitly[A] // uncomment + + class B[T](t : T)(implicit a : A) // remove implicit param block + + class C extends B/*[Int]*/(23) // uncomment + val c = new C // comment +} -- cgit v1.2.3