Rewritten NameValidatorImpl to be both more efficient and more correct
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class For {
|
||||
var xxx: For? = null
|
||||
}
|
||||
|
||||
|
||||
fun foo(f: For) {
|
||||
<selection>f.xxx</selection>
|
||||
|
||||
if (true) {
|
||||
val xxx = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class For {
|
||||
var xxx: For? = null
|
||||
}
|
||||
|
||||
|
||||
fun foo(f: For) {
|
||||
val xxx1 = f.xxx
|
||||
|
||||
if (true) {
|
||||
val xxx = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user