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