Minor: adjust quick fix test data to avoid "conflicting overloads"
This commit is contained in:
+1
-1
@@ -2,6 +2,6 @@
|
||||
|
||||
actual fun foo(n: Int, action: (<caret>Int) -> Int) = action(n)
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { n -> n + 1 }
|
||||
}
|
||||
+1
-1
@@ -2,6 +2,6 @@
|
||||
|
||||
actual fun foo(n: Int, action: Int.() -> Int) = n.action()
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { this + 1 }
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
actual fun foo(n: Int, action: (Int) -> Int) = action(n)
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { n -> n + 1 }
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
actual fun foo(n: Int, action: Int.() -> Int) = n.action()
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { this + 1 }
|
||||
}
|
||||
+1
-1
@@ -2,6 +2,6 @@
|
||||
|
||||
actual fun foo(n: Int, action: <caret>Int.() -> Int) = n.action()
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { this + 1 }
|
||||
}
|
||||
+1
-1
@@ -2,6 +2,6 @@
|
||||
|
||||
actual fun foo(n: Int, action: (Int) -> Int) = action(n)
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { i -> i + 1 }
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
actual fun foo(n: Int, action: Int.() -> Int) = n.action()
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { this + 1 }
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
actual fun foo(n: Int, action: (Int) -> Int) = action(n)
|
||||
|
||||
fun test() {
|
||||
fun test1() {
|
||||
foo(1) { i -> i + 1 }
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.testJs() {
|
||||
foo(1, "2")
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.testJs() {
|
||||
"2".foo(1)
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.testJvm() {
|
||||
foo(1, "2")
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.testJvm() {
|
||||
"2".foo(1)
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.test1() {
|
||||
"1".foo(2)
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.test1() {
|
||||
foo("1", 2)
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.test1() {
|
||||
"1".foo(2)
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ actual class Foo {
|
||||
}
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
fun Foo.test1() {
|
||||
foo("1", 2)
|
||||
}
|
||||
Reference in New Issue
Block a user