Minor: adjust quick fix test data to avoid "conflicting overloads"

This commit is contained in:
Pavel V. Talanov
2018-04-20 13:38:29 +02:00
parent 3949fc70c9
commit 94dfcba5c5
16 changed files with 16 additions and 16 deletions
@@ -2,6 +2,6 @@
actual fun foo(n: Int, action: (<caret>Int) -> Int) = action(n)
fun test() {
fun test1() {
foo(1) { n -> n + 1 }
}
@@ -2,6 +2,6 @@
actual fun foo(n: Int, action: Int.() -> Int) = n.action()
fun test() {
fun test1() {
foo(1) { this + 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,5 +1,5 @@
actual fun foo(n: Int, action: Int.() -> Int) = n.action()
fun test() {
fun test1() {
foo(1) { this + 1 }
}
@@ -2,6 +2,6 @@
actual fun foo(n: Int, action: <caret>Int.() -> Int) = n.action()
fun test() {
fun test1() {
foo(1) { this + 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,5 +1,5 @@
actual fun foo(n: Int, action: Int.() -> Int) = n.action()
fun test() {
fun test1() {
foo(1) { this + 1 }
}
@@ -1,5 +1,5 @@
actual fun foo(n: Int, action: (Int) -> Int) = action(n)
fun test() {
fun test1() {
foo(1) { i -> i + 1 }
}
@@ -6,6 +6,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.testJs() {
foo(1, "2")
}
@@ -6,6 +6,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.testJs() {
"2".foo(1)
}
@@ -4,6 +4,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.testJvm() {
foo(1, "2")
}
@@ -4,6 +4,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.testJvm() {
"2".foo(1)
}
@@ -6,6 +6,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.test1() {
"1".foo(2)
}
@@ -6,6 +6,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.test1() {
foo("1", 2)
}
@@ -4,6 +4,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.test1() {
"1".foo(2)
}
@@ -4,6 +4,6 @@ actual class Foo {
}
}
fun Foo.test() {
fun Foo.test1() {
foo("1", 2)
}