Migration: header->expect & impl->actual in IDEA test data
This commit is contained in:
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
header class ChildOfFoo : Foo()
|
||||
expect class ChildOfFoo : Foo()
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
open class Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual class ChildOfFoo : Foo()
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
open class Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual class ChildOfFoo : Foo()
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
header open class <caret>Foo
|
||||
header class ChildOfFoo : Foo()
|
||||
expect open class <caret>Foo
|
||||
expect class ChildOfFoo : Foo()
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
impl open class Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual open class Foo
|
||||
actual class ChildOfFoo : Foo()
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
impl open class Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual open class Foo
|
||||
actual class ChildOfFoo : Foo()
|
||||
idea/testData/refactoring/safeDeleteMultiModule/byHeaderClassMemberFun/after/Common/src/test/test.kt
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
}
|
||||
|
||||
fun test(f: Foo) {
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
actual class Foo {
|
||||
fun foo(n: Int) {
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
actual class Foo {
|
||||
fun foo(n: Int) {
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun <caret>foo(n: Int)
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+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
|
||||
}
|
||||
}
|
||||
|
||||
idea/testData/refactoring/safeDeleteMultiModule/byHeaderClassMemberVal/after/Common/src/test/test.kt
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
actual class Foo {
|
||||
val foo get() = 1
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
actual class Foo {
|
||||
val foo get() = 2
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
val <caret>foo: Int
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl val foo get() = 1
|
||||
actual class Foo {
|
||||
actual val foo get() = 1
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl val foo get() = 2
|
||||
actual class Foo {
|
||||
actual val foo get() = 2
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo()
|
||||
expect class Foo()
|
||||
|
||||
fun test() {
|
||||
Foo()
|
||||
|
||||
+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(<caret>n: Int)
|
||||
expect class Foo(<caret>n: Int)
|
||||
|
||||
fun test() {
|
||||
Foo(1)
|
||||
|
||||
+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
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header open class Foo {
|
||||
expect open class Foo {
|
||||
}
|
||||
|
||||
fun test() = Foo(1)
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl open class Foo {
|
||||
actual open class Foo {
|
||||
constructor(n: Int)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl open class Foo {
|
||||
actual open class Foo {
|
||||
constructor(n: Int)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header open class Foo {
|
||||
expect open class Foo {
|
||||
<caret>constructor(n: Int)
|
||||
}
|
||||
|
||||
|
||||
+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(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 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
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header fun <caret>foo(n: Int)
|
||||
expect fun <caret>foo(n: Int)
|
||||
|
||||
fun test() {
|
||||
foo(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(n: Int) {
|
||||
actual fun foo(n: Int) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(n: Int) {
|
||||
actual fun foo(n: Int) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header fun foo()
|
||||
expect fun foo()
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo() {
|
||||
actual fun foo() {
|
||||
n + 1
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo() {
|
||||
actual fun foo() {
|
||||
n + 1
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header fun foo(<caret>n: Int)
|
||||
expect fun foo(<caret>n: Int)
|
||||
|
||||
fun test() {
|
||||
foo(1)
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(n: Int) {
|
||||
actual fun foo(n: Int) {
|
||||
n + 1
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(n: Int) {
|
||||
actual fun foo(n: Int) {
|
||||
n + 1
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header fun foo(s: String)
|
||||
expect fun foo(s: String)
|
||||
|
||||
fun test() {
|
||||
foo("1")
|
||||
|
||||
idea/testData/refactoring/safeDeleteMultiModule/byHeaderFunVarargParamerer/after/JS/src/test/test.kt
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(s: String) {
|
||||
actual fun foo(s: String) {
|
||||
n.size
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(s: String) {
|
||||
actual fun foo(s: String) {
|
||||
n.size
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header fun foo(s: String, vararg <caret>n: Int)
|
||||
expect fun foo(s: String, vararg <caret>n: Int)
|
||||
|
||||
fun test() {
|
||||
foo("1", 2, 3)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(s: String, vararg n: Int) {
|
||||
actual fun foo(s: String, vararg n: Int) {
|
||||
n.size
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl fun foo(s: String, vararg n: Int) {
|
||||
actual fun foo(s: String, vararg n: Int) {
|
||||
n.size
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
header val <caret>foo: Int
|
||||
expect val <caret>foo: Int
|
||||
|
||||
fun test() = foo
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
impl val foo get() = 1
|
||||
actual val foo get() = 1
|
||||
|
||||
fun test() = foo
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
impl val foo get() = 2
|
||||
actual val foo get() = 2
|
||||
|
||||
fun test() = foo
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
header open class Foo
|
||||
header class ChildOfFoo : Foo()
|
||||
expect open class Foo
|
||||
expect class ChildOfFoo : Foo()
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual class ChildOfFoo : Foo()
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
impl open class Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual open class Foo
|
||||
actual class ChildOfFoo : Foo()
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
header open class Foo
|
||||
header class ChildOfFoo : Foo()
|
||||
expect open class Foo
|
||||
expect class ChildOfFoo : Foo()
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
impl open class <caret>Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual open class <caret>Foo
|
||||
actual class ChildOfFoo : Foo()
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
impl open class Foo
|
||||
impl class ChildOfFoo : Foo()
|
||||
actual open class Foo
|
||||
actual class ChildOfFoo : Foo()
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun foo(n: Int)
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
actual class Foo {
|
||||
}
|
||||
|
||||
fun test(f: Foo) {
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
fun foo(n: Int)
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun <caret>foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun <caret>foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(n: Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+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(n: Int)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl fun foo(<caret>n: Int) {
|
||||
actual class Foo {
|
||||
actual fun foo(<caret>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
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
val foo: Int
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
actual class Foo {
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl val foo get() = 2
|
||||
actual class Foo {
|
||||
actual val foo get() = 2
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo {
|
||||
expect class Foo {
|
||||
val foo: Int
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl val <caret>foo get() = 1
|
||||
actual class Foo {
|
||||
actual val <caret>foo get() = 1
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
impl class Foo {
|
||||
impl val foo get() = 2
|
||||
actual class Foo {
|
||||
actual val foo get() = 2
|
||||
}
|
||||
|
||||
fun test(f: Foo) = f.foo
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo()
|
||||
expect class Foo()
|
||||
|
||||
fun test() {
|
||||
Foo()
|
||||
|
||||
+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(n: Int)
|
||||
expect class Foo(n: Int)
|
||||
|
||||
fun test() {
|
||||
Foo(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class Foo(<caret>n: Int) {
|
||||
actual class Foo(<caret>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
|
||||
}
|
||||
|
||||
+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)
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class Foo()
|
||||
expect class Foo()
|
||||
|
||||
fun test() {
|
||||
Foo()
|
||||
|
||||
+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(n: Int)
|
||||
expect class Foo(n: Int)
|
||||
|
||||
fun test() {
|
||||
Foo(1)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user