Migration: header->expect & impl->actual in IDEA test data
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo() {
|
||||
actual class Foo {
|
||||
actual fun foo() {
|
||||
n + 1
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo() {
|
||||
actual class Foo {
|
||||
actual fun foo() {
|
||||
n + 1
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun foo(<caret>n: Int)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(n: Int) {
|
||||
n + 1
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(n: Int) {
|
||||
n + 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user