blob: 1dca63a736e1e11488c6e6f116e4ead638b644b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
t9273.scala:2: error: class type required but ? found
val foo: Class[_] = classOf // error without position, line or file
^
t9273.scala:3: error: not found: type X
val foo1: Class[_] = classOf[X] // good error, all info contained
^
t9273.scala:7: error: not found: type X
val foo4: Class[_] = Predef.classOf[X] // good error, all info contained
^
three errors found
|