[K2] Prohibit smart casts for 'expect' properties
^KT-61340
This commit is contained in:
committed by
Space Team
parent
e4ea733482
commit
e3bab4a7da
@@ -17,6 +17,9 @@ enum class SmartcastStability(private val str: String, val description: String =
|
||||
// Smart casts are completely safe
|
||||
STABLE_VALUE("stable val"),
|
||||
|
||||
// Smart casts are not safe
|
||||
EXPECT_PROPERTY("expect property"),
|
||||
|
||||
// Member value with open / custom getter
|
||||
// Smart casts are not safe
|
||||
PROPERTY_WITH_GETTER("custom getter", "property that has open or custom getter"),
|
||||
|
||||
Reference in New Issue
Block a user