diff options
-rw-r--r-- | test/files/neg/t3763.scala | 2 | ||||
-rwxr-xr-x | test/pending/run/t3609.scala | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/files/neg/t3763.scala b/test/files/neg/t3763.scala new file mode 100644 index 0000000000..6ac4595add --- /dev/null +++ b/test/files/neg/t3763.scala @@ -0,0 +1,2 @@ +object Test extends Application { + val x = Array(Array(1), List(1)) diff --git a/test/pending/run/t3609.scala b/test/pending/run/t3609.scala new file mode 100755 index 0000000000..262948137d --- /dev/null +++ b/test/pending/run/t3609.scala @@ -0,0 +1,11 @@ +object Test extends Application { + class A + class B extends A + def foo(x: A, y: B) = print(1) + val foo = new { + //def apply(x: B, y: A) = print(3) + def apply = (x: B, z: B) => print(4) + } + + foo(new B, new B) +} |