summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-12-19 12:07:24 +0000
committermichelou <michelou@epfl.ch>2007-12-19 12:07:24 +0000
commit7d3efa0e191d805d171961b26baab773669b2b69 (patch)
treeb6ba36cc9bab747fb025954d258c7e66d5c7dbf4 /test/files/pos
parent74dc1a845361a7cbfac93e1936f6487e9ae69283 (diff)
downloadscala-7d3efa0e191d805d171961b26baab773669b2b69.tar.gz
scala-7d3efa0e191d805d171961b26baab773669b2b69.tar.bz2
scala-7d3efa0e191d805d171961b26baab773669b2b69.zip
added type param to Class
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/bug1107.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/pos/bug1107.scala b/test/files/pos/bug1107.scala
index d3cdbf65cc..0bf40bb4cc 100644
--- a/test/files/pos/bug1107.scala
+++ b/test/files/pos/bug1107.scala
@@ -1,5 +1,6 @@
object F {
- def tryf[T](ignore: List[Class])(f: => T): Any = {
+ type AnyClass = Class[_]
+ def tryf[T](ignore: List[AnyClass])(f: => T): Any = {
try {
f
} catch {