diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-05-14 11:25:26 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-05-14 11:31:14 +0200 |
commit | 2d33c00ec0fd0b4a4b863ac02630cb87bc71c53d (patch) | |
tree | 09be696bab8e3a2d31338bce6067b30ab44dc30c /test/files | |
parent | f1d81c9b9b300b2f526c03a27600e6fe481fc7c6 (diff) | |
download | scala-2d33c00ec0fd0b4a4b863ac02630cb87bc71c53d.tar.gz scala-2d33c00ec0fd0b4a4b863ac02630cb87bc71c53d.tar.bz2 scala-2d33c00ec0fd0b4a4b863ac02630cb87bc71c53d.zip |
fix SI-5384
make TreeInfo recognize constructor calls after named arguments transformation.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t5384.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t5384.scala b/test/files/pos/t5384.scala new file mode 100644 index 0000000000..4e297d5935 --- /dev/null +++ b/test/files/pos/t5384.scala @@ -0,0 +1,7 @@ +class A(x: String, y: Int)(implicit o: String) +class B1(implicit o: String) extends A(y = 5, x = "a") +class B2(implicit o: String) extends A("a", 5) +class B3(implicit o: String) extends A(y = 5, x = "a")(o) + +class AM[E: Manifest](val x: Unit = (), y: Unit) +class BM[E: Manifest] extends AM[E](y = ()) |