dam5s
03/05/2020, 4:56 PMSmart cast to 'String' is impossible because 'myObject.myProperty' is a public API property declared in different module
Zach Klippenstein (he/him) [MOD]
03/05/2020, 4:58 PMNote that smart casts do not work when the compiler cannot guarantee that the variable cannot change between the check and the usage. More specifically, smart casts are applicable according to the following rules:https://kotlinlang.org/docs/reference/typecasts.html#smart-casts
dam5s
03/05/2020, 5:04 PM