We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a7494 commit c0b83f8Copy full SHA for c0b83f8
tests/run/classof.scala
@@ -5,6 +5,7 @@ object Test {
5
def main(args: Array[String]): Unit = {
6
val cls: Predef.Class[SomeClass] = classOf[SomeClass]
7
val valCls: Predef.Class[ValueClass] = classOf[ValueClass]
8
+ val iCls: Class[Int] = classOf[Int]
9
10
println("Value types:")
11
println(classOf[Unit])
0 commit comments