Replace hashCode usages in tests where it was supposed to fail on nullable receiver

Related to #KT-25039
This commit is contained in:
Ilya Gorbunov
2018-09-07 04:23:34 +03:00
parent 48fd8a63ee
commit 903976d9af
27 changed files with 35 additions and 28 deletions
@@ -4,4 +4,6 @@ enum class Enum(x: String) {
val becameNullable: Any = x
val unchanged: Any = x
}
}
fun Any.string() = this as String