Migration: header->expect & impl->actual in IDEA test data
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(n: Int, b: Boolean)
|
||||
expect class C(n: Int, b: Boolean)
|
||||
|
||||
fun test() {
|
||||
C(1, false)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int, b: Boolean): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int, b: Boolean) {
|
||||
actual class C(n: Int, b: Boolean) {
|
||||
constructor(s: String): this(1, false)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class <caret>C(n: Int)
|
||||
expect class <caret>C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int) {
|
||||
actual class C(n: Int) {
|
||||
constructor(s: String): this(1)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(n: Int)
|
||||
expect class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int)
|
||||
actual class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int)
|
||||
actual class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class <caret>C
|
||||
expect class <caret>C
|
||||
|
||||
fun test() {
|
||||
C()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C()
|
||||
actual class C()
|
||||
|
||||
fun test() {
|
||||
C()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C
|
||||
actual class C
|
||||
|
||||
fun test() {
|
||||
C()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(s: String) {
|
||||
expect class C(s: String) {
|
||||
constructor(n: Int, b: Boolean): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int, b: Boolean): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int, b: Boolean) {
|
||||
actual class C(n: Int, b: Boolean) {
|
||||
constructor(s: String): this(1, false)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(s: String) {
|
||||
expect class C(s: String) {
|
||||
<caret>constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int) {
|
||||
actual class C(n: Int) {
|
||||
constructor(s: String): this(1)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C {
|
||||
expect class C {
|
||||
fun foo()
|
||||
fun baz(n: Int)
|
||||
fun bar(n: Int)
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C {
|
||||
expect class C {
|
||||
fun foo()
|
||||
fun <caret>foo(n: Int)
|
||||
fun bar(n: Int)
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
header fun foo()
|
||||
header fun baz(n: Int)
|
||||
header fun bar(n: Int)
|
||||
expect fun foo()
|
||||
expect fun baz(n: Int)
|
||||
expect fun bar(n: Int)
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
header fun foo()
|
||||
header fun <caret>foo(n: Int)
|
||||
header fun bar(n: Int)
|
||||
expect fun foo()
|
||||
expect fun <caret>foo(n: Int)
|
||||
expect fun bar(n: Int)
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C {
|
||||
expect class C {
|
||||
fun foo()
|
||||
fun baz(n: Int)
|
||||
fun bar(n: Int)
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C {
|
||||
expect class C {
|
||||
fun foo()
|
||||
fun foo(n: Int)
|
||||
fun bar(n: Int)
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun <caret>foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun <caret>foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
impl class C {
|
||||
impl fun foo() { }
|
||||
impl fun foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual class C {
|
||||
actual fun foo() { }
|
||||
actual fun foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
header fun foo()
|
||||
header fun baz(n: Int)
|
||||
header fun bar(n: Int)
|
||||
expect fun foo()
|
||||
expect fun baz(n: Int)
|
||||
expect fun bar(n: Int)
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun baz(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun baz(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
header fun foo()
|
||||
header fun foo(n: Int)
|
||||
header fun bar(n: Int)
|
||||
expect fun foo()
|
||||
expect fun foo(n: Int)
|
||||
expect fun bar(n: Int)
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun <caret>foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun <caret>foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
impl fun foo() { }
|
||||
impl fun foo(n: Int) { }
|
||||
impl fun bar(n: Int) { }
|
||||
actual fun foo() { }
|
||||
actual fun foo(n: Int) { }
|
||||
actual fun bar(n: Int) { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(n: Int, b: Boolean)
|
||||
expect class C(n: Int, b: Boolean)
|
||||
|
||||
fun test() {
|
||||
C(1, false)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int, b: Boolean): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int, b: Boolean) {
|
||||
actual class C(n: Int, b: Boolean) {
|
||||
constructor(s: String): this(1, false)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(n: Int)
|
||||
expect class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C<caret>(n: Int) {
|
||||
actual class C<caret>(n: Int) {
|
||||
constructor(s: String): this(1)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(n: Int)
|
||||
expect class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int)
|
||||
actual class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int)
|
||||
actual class C(n: Int)
|
||||
|
||||
fun test() {
|
||||
C(1)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C
|
||||
expect class C
|
||||
|
||||
fun test() {
|
||||
C()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C()
|
||||
actual class C()
|
||||
|
||||
fun test() {
|
||||
C()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class <caret>C
|
||||
actual class <caret>C
|
||||
|
||||
fun test() {
|
||||
C()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(s: String) {
|
||||
expect class C(s: String) {
|
||||
constructor(n: Int, b: Boolean): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
constructor(n: Int, b: Boolean): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int, b: Boolean) {
|
||||
actual class C(n: Int, b: Boolean) {
|
||||
constructor(s: String): this(1, false)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
header class C(s: String) {
|
||||
expect class C(s: String) {
|
||||
constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(s: String) {
|
||||
actual class C(s: String) {
|
||||
<caret>constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
impl class C(n: Int) {
|
||||
actual class C(n: Int) {
|
||||
constructor(s: String): this(1)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user