KT-9418 Suggest name for new declaration basing on unresolved names in code
#KT-9418 Fixed
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
// RUN_HIGHLIGHTING_BEFORE
|
||||
|
||||
class C {
|
||||
fun foo(p: Int) {
|
||||
print(unresolvedInFoo)
|
||||
}
|
||||
|
||||
val <caret>
|
||||
|
||||
fun bar(s: String, x: UnresolvedType) {
|
||||
print(unresolvedInBar)
|
||||
print(s.unresolvedWithReceiver)
|
||||
}
|
||||
}
|
||||
|
||||
fun f() {
|
||||
print(unresolvedOutside)
|
||||
}
|
||||
|
||||
// EXIST: unresolvedInFoo
|
||||
// EXIST: unresolvedInBar
|
||||
// ABSENT: unresolvedWithReceiver
|
||||
// ABSENT: unresolvedOutside
|
||||
// ABSENT: UnresolvedType
|
||||
Reference in New Issue
Block a user