Import is placed in some specific order on adding
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// "Change function signature to 'fun f(a: A)'" "true"
|
||||
// ERROR: 'f' overrides nothing
|
||||
import a.B
|
||||
import a.A
|
||||
import a.B
|
||||
|
||||
class BB : B() {
|
||||
<caret>override fun f(a: A) {}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
// "Change function signature to 'fun f(a: A)'" "true"
|
||||
// ERROR: 'f' overrides nothing
|
||||
import a.B
|
||||
import a.A
|
||||
|
||||
import a.B
|
||||
class A {}
|
||||
class BB : B() {
|
||||
override fun f(a: A) {}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Change type from 'String' to '(ModuleBuilder) -> Module'" "true"
|
||||
|
||||
import kotlin.modules.ModuleBuilder
|
||||
import kotlin.modules.Module
|
||||
import kotlin.modules.ModuleBuilder
|
||||
|
||||
fun foo(f: ((kotlin.modules.ModuleBuilder) -> kotlin.modules.Module) -> String) {
|
||||
foo {
|
||||
|
||||
Reference in New Issue
Block a user