Passing DataFlowInfo to local classes/objects
#KT-2835 In Progress #KT-2225 In Progress #KT-338 In Progress
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun test(x: Any?) {
|
||||
if (x !is String) return
|
||||
|
||||
class C {
|
||||
val v = x.length
|
||||
|
||||
val vGet: Int
|
||||
get() = x.length
|
||||
|
||||
val s: String = x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user