diff options
author | Martin Odersky <odersky@gmail.com> | 2009-08-15 20:12:37 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-08-15 20:12:37 +0000 |
commit | fe72ad6351aa3e06c894972e959fa768ed60a515 (patch) | |
tree | ec2de6807adba0e76dab26c1c803a389ebce7586 /test/files/pos/looping-jsig.scala | |
parent | 43b445579feb1499d3f405c64a45666037255f7d (diff) | |
download | scala-fe72ad6351aa3e06c894972e959fa768ed60a515.tar.gz scala-fe72ad6351aa3e06c894972e959fa768ed60a515.tar.bz2 scala-fe72ad6351aa3e06c894972e959fa768ed60a515.zip |
Fixed #1560 (which was a typing hole, so some l...
Fixed #1560 (which was a typing hole, so some library classes had to be
fixed)
Diffstat (limited to 'test/files/pos/looping-jsig.scala')
-rw-r--r-- | test/files/pos/looping-jsig.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/looping-jsig.scala b/test/files/pos/looping-jsig.scala index 15ccd75cb0..6e3313c463 100644 --- a/test/files/pos/looping-jsig.scala +++ b/test/files/pos/looping-jsig.scala @@ -14,5 +14,5 @@ trait BugTrack { def amethod[T](p: =>A[T]): A[T] = A(in => cache.get(p) match { case Some(res) => res case None => p(in) - }).giveMeSame + }).giveMeSame.asInstanceOf[A[T]] } |