diff options
author | Martin Odersky <odersky@gmail.com> | 2009-05-26 18:24:54 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-05-26 18:24:54 +0000 |
commit | 7702b798955247752bf1c0108cef02d4f81a030e (patch) | |
tree | 9abd7a3db873d73001a9ecb228d0f9d7f27fabe5 /test/files/pos/t0851.scala.disabled | |
parent | bd119a13d690dfc7d54e987bb53b5aeab9e53ffd (diff) | |
download | scala-7702b798955247752bf1c0108cef02d4f81a030e.tar.gz scala-7702b798955247752bf1c0108cef02d4f81a030e.tar.bz2 scala-7702b798955247752bf1c0108cef02d4f81a030e.zip |
disabled to failing tests for now.
Diffstat (limited to 'test/files/pos/t0851.scala.disabled')
-rwxr-xr-x | test/files/pos/t0851.scala.disabled | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t0851.scala.disabled b/test/files/pos/t0851.scala.disabled new file mode 100755 index 0000000000..fc7109dcd4 --- /dev/null +++ b/test/files/pos/t0851.scala.disabled @@ -0,0 +1,14 @@ +package test + +object test1 { + case class Foo[T,T2](f : (T,T2) => String) extends (((T,T2)) => String){ + def apply(t : T) = (s:T2) => f(t,s) + def apply(p : (T,T2)) = f(p._1,p._2) + } + implicit def g[T](f : (T,String) => String) = Foo(f) + def main(args : Array[String]) : Unit = { + val f = (x:Int,s:String) => s + x + println(f(1)) + () + } +} |