Report error when LHS of class literal is not a class

This commit is contained in:
Alexander Udalov
2015-03-08 14:22:30 +03:00
parent b93b9bd565
commit 6468515d99
10 changed files with 183 additions and 27 deletions
@@ -0,0 +1,9 @@
import kotlin.test.assertEquals
class Generic<K, V>
fun box(): String {
val g = Generic::class
assertEquals("Generic", g.simpleName)
return "OK"
}