Fixed KT-2483 "Add import" quick fix offers adding import to non-API class
#KT-2483 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false"
|
||||
// ERROR: Unresolved reference: Nested
|
||||
|
||||
fun test() {
|
||||
Nested
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "class com.intellij.codeInsight.daemon.impl.quickfix.ImportClassFixBase" "false"
|
||||
// ACTION: Create local variable 'Nested'
|
||||
// ACTION: Create object 'Nested'
|
||||
// ACTION: Create parameter 'Nested'
|
||||
// ACTION: Create property 'Nested'
|
||||
// ERROR: Unresolved reference: Nested
|
||||
|
||||
fun test() {
|
||||
<caret>Nested
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package sometest
|
||||
|
||||
private class PrivateClass {
|
||||
class Nested
|
||||
}
|
||||
Reference in New Issue
Block a user