Migration: header->expect & impl->actual in IDEA test data
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Convert receiver to parameter" "true"
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun <caret>String.foo(n: Int)
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Convert receiver to parameter" "true"
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun foo(s: String, n: Int)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
impl class Foo {
|
||||
impl fun String.foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun String.foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
impl class Foo {
|
||||
impl fun foo(s: String, n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(s: String, n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
impl class Foo {
|
||||
impl fun String.foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun String.foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
impl class Foo {
|
||||
impl fun foo(s: String, n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(s: String, n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user