KT-9418 Suggest name for new declaration basing on unresolved names in code
#KT-9418 Fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// RUN_HIGHLIGHTING_BEFORE
|
||||
|
||||
fun foo(p: Int, <caret>) {
|
||||
print(unresolvedInFoo1)
|
||||
if (p > 0) {
|
||||
print(unresolvedInFoo2)
|
||||
}
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
print(unresolvedInBar)
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "unresolvedInFoo1", itemText: "unresolvedInFoo1" }
|
||||
// EXIST: { lookupString: "unresolvedInFoo2", itemText: "unresolvedInFoo2" }
|
||||
// ABSENT: unresolvedInBar
|
||||
Reference in New Issue
Block a user