diff options
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/bug1107.scala | 3 |
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 { |