[NI] Fix tests (was a type checker bug, see KT-18380)
This commit is contained in:
committed by
Mikhail Zarechenskiy
parent
d4e8a30dcf
commit
756f7d6e9c
Vendored
+2
-2
@@ -13,8 +13,8 @@ object Delegate {
|
||||
}
|
||||
|
||||
operator fun getValue(x: Any?, p: KProperty<*>) {
|
||||
assertEquals(prop, p)
|
||||
assertEquals(p, prop)
|
||||
assertEquals(prop as Any, p)
|
||||
assertEquals(p as Any, prop)
|
||||
assertEquals(p.hashCode(), prop.hashCode())
|
||||
assertEquals("property x (Kotlin reflection is not available)", p.toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user