903976d9af
Related to #KT-25039
7 lines
298 B
Plaintext
Vendored
7 lines
298 B
Plaintext
Vendored
>>> val x: Pair<Any?, Any?> = null to null
|
|
>>> fun Any.string() = this as String
|
|
>>> if (x.first != null) x.first.string()
|
|
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.string()
|
|
^
|