diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-10-10 15:04:55 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-10-10 15:57:02 +1000 |
commit | bfa79972e4005f29fa997483c7f96f69ec5fdbc9 (patch) | |
tree | 381576fa79eca987013d06cd0f24452c7ddf056c /test | |
parent | 91c34cedc9ee54244f6b49dda691cbe0be182037 (diff) | |
download | scala-bfa79972e4005f29fa997483c7f96f69ec5fdbc9.tar.gz scala-bfa79972e4005f29fa997483c7f96f69ec5fdbc9.tar.bz2 scala-bfa79972e4005f29fa997483c7f96f69ec5fdbc9.zip |
SI-5454 Test case for another ticket fixed by the previous commit
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t5454.scala | 10 |
1 files changed, 10 insertions, 0 deletions
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 +} |