Fix compiler tests with incompatible types in assertEquals arguments.

This commit is contained in:
Ilya Gorbunov
2015-10-22 23:16:39 +03:00
parent 579ce8091c
commit e2c9267305
3 changed files with 5 additions and 4 deletions
@@ -20,5 +20,5 @@ fun box(): String {
}
public fun <T, R> checkAccessor(prop: KProperty0<T>, value: R) {
assertEquals(prop.get(), value, "Property ${prop} has wrong value")
assertEquals<Any?>(prop.get(), value, "Property ${prop} has wrong value")
}