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