Files
kotlin-fork/compiler/testData/repl/modules/kt10001.repl
T
2016-10-06 14:40:21 +03:00

6 lines
264 B
Plaintext
Vendored

>>> val x: Pair<Any?, Any?> = null to null
>>> if (x.first != null) x.first.hashCode()
error: smart cast to 'Any' is impossible, because 'x.first' is a public API property declared in different module
if (x.first != null) x.first.hashCode()
^