new tests. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22834 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
0003edcb45
commit
e7eea96e96
|
@ -0,0 +1,2 @@
|
|||
object Test extends Application {
|
||||
val x = Array(Array(1), List(1))
|
|
@ -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)
|
||||
}
|
Loading…
Reference in New Issue