[NI] Fix tests (was a type checker bug, see KT-18380)

This commit is contained in:
Dmitry Petrov
2017-06-09 11:15:10 +03:00
committed by Mikhail Zarechenskiy
parent d4e8a30dcf
commit 756f7d6e9c
3 changed files with 5 additions and 5 deletions
@@ -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())
}