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 {
|
||||
constructor()
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo() {
|
||||
actual class Foo() {
|
||||
val x = n + 1
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo(s: String) {
|
||||
actual class Foo(s: String) {
|
||||
constructor(): this("") {
|
||||
val x = n + 1
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
constructor(<caret>n: Int)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo(n: Int) {
|
||||
actual class Foo(n: Int) {
|
||||
val x = n + 1
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo(s: String) {
|
||||
actual class Foo(s: String) {
|
||||
constructor(n: Int): this("") {
|
||||
val x = n + 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user