Renamed classes
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
|
||||
// KT-3165 Weird stack overflow in IDE
|
||||
// ERROR: Unresolved reference: Bar
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// KT-3165 Weird stack overflow in IDE
|
||||
// ERROR: Unresolved reference: Bar
|
||||
// ERROR: Unresolved reference: SomeImpossibleName
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: infix
|
||||
package x
|
||||
|
||||
|
||||
@@ -9,14 +9,15 @@ fun f() {
|
||||
}
|
||||
|
||||
|
||||
// FILE: Bar.java
|
||||
// FILE: foo/Bar.java
|
||||
package foo;
|
||||
|
||||
public class Bar {
|
||||
public static final String foobar = "foobar";
|
||||
}
|
||||
|
||||
// FILE: first.after.kt
|
||||
import Bar.foobar
|
||||
import foo.Bar.foobar
|
||||
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
@@ -9,7 +9,8 @@ fun f() {
|
||||
}
|
||||
|
||||
|
||||
// FILE: Bar.java
|
||||
// FILE: foo/Bar.java
|
||||
package foo;
|
||||
|
||||
public class Bar {
|
||||
public static void foobar()
|
||||
@@ -19,7 +20,7 @@ public class Bar {
|
||||
}
|
||||
|
||||
// FILE: first.after.kt
|
||||
import Bar.foobar
|
||||
import foo.Bar.foobar
|
||||
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
@@ -20,7 +20,7 @@ class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
@@ -21,7 +21,7 @@ class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
@@ -21,7 +21,7 @@ public class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create local variable 'foobar'
|
||||
// ACTION: Create property 'foobar'
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
@@ -21,7 +21,7 @@ public class Foo {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// FILE: main.before.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Import
|
||||
@@ -19,7 +19,7 @@ fun foobar() {
|
||||
}
|
||||
|
||||
//FILE: main.after.kt
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportMemberFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportMemberFix" "false"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
// ACTION: Create function 'foobar'
|
||||
// ACTION: Rename reference
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
class {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: TTTTT
|
||||
// ERROR: Function declaration must have a name
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
object {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
fun f(: Int) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
val : Int
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: some[12]
|
||||
// ERROR: No get method providing array access
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: someFun
|
||||
// ERROR: Unresolved reference: test
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: externalFun
|
||||
|
||||
package testing
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Rename reference
|
||||
// ERROR: Unresolved reference: externalFun
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: some[12]
|
||||
// ERROR: No get method providing array access
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
|
||||
package Teting
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: Nested
|
||||
|
||||
fun test() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Create local variable 'Nested'
|
||||
// ACTION: Create object 'Nested'
|
||||
// ACTION: Create parameter 'Nested'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: PrivateClass
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Create local variable 'PrivateClass'
|
||||
// ACTION: Create object 'PrivateClass'
|
||||
// ACTION: Create parameter 'PrivateClass'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: SomeTest
|
||||
|
||||
package testing
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Create annotation 'SomeTest'
|
||||
// ACTION: Create class 'SomeTest'
|
||||
// ACTION: Create interface 'SomeTest'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: SomeTest
|
||||
|
||||
package testing
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Convert property initializer to getter
|
||||
// ACTION: Create class 'SomeTest'
|
||||
// ACTION: Rename reference
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: SomeTest
|
||||
|
||||
package testing
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Create interface 'SomeTest'
|
||||
// ERROR: Unresolved reference: SomeTest
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: SomeTest
|
||||
// ERROR: Expression expected, but a package name found
|
||||
// ACTION: Edit intention settings
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: SomeTest
|
||||
// ERROR: Expression expected, but a package name found
|
||||
// ACTION: Convert property initializer to getter
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Convert property initializer to getter
|
||||
// ACTION: Create class 'SomeClass'
|
||||
// ACTION: Create function 'SomeClass'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Convert property initializer to getter
|
||||
// ACTION: Create class 'ExcludedClass'
|
||||
// ACTION: Create function 'ExcludedClass'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Convert property initializer to getter
|
||||
// ACTION: Create function 'someFunction'
|
||||
// ACTION: Rename reference
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: @String
|
||||
|
||||
fun refer() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Create function 'FooPackage'
|
||||
// ACTION: Create class 'FooPackage'
|
||||
// ACTION: Rename reference
|
||||
|
||||
Reference in New Issue
Block a user