Migration: header->expect & impl->actual in IDEA test data

This commit is contained in:
Mikhail Glukhikh
2017-09-15 12:04:30 +03:00
parent 32cc619f15
commit 6e41bbc2a7
430 changed files with 663 additions and 663 deletions
@@ -1,7 +1,7 @@
package test
header class Baz
header class Bar
expect class Baz
expect class Bar
fun test() {
val baz: Baz = Baz()
@@ -1,7 +1,7 @@
package test
impl class Baz
impl class Bar
actual class Baz
actual class Bar
fun test() {
val baz: Baz = Baz()
@@ -1,7 +1,7 @@
package test
impl class Baz
impl class Bar
actual class Baz
actual class Bar
fun test() {
val baz: Baz = Baz()
@@ -1,7 +1,7 @@
package test
header class /*rename*/Foo
header class Bar
expect class /*rename*/Foo
expect class Bar
fun test() {
val foo: Foo = Foo()
@@ -1,7 +1,7 @@
package test
impl class Foo
impl class Bar
actual class Foo
actual class Bar
fun test() {
val foo: Foo = Foo()
@@ -1,7 +1,7 @@
package test
impl class Foo
impl class Bar
actual class Foo
actual class Bar
fun test() {
val foo: Foo = Foo()
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun baz()
fun baz(n: Int)
fun bar(n: Int)
@@ -1,9 +1,9 @@
package test
impl class C {
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual class C {
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
}
fun test(c: C) {
@@ -1,9 +1,9 @@
package test
impl class C {
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual class C {
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
}
fun test(c: C) {
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun /*rename*/foo()
fun foo(n: Int)
fun bar(n: Int)
@@ -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) {
@@ -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) {
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun foo(x: Int)
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(x: Int) {
actual class C {
actual fun foo(x: Int) {
}
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(x: Int) {
actual class C {
actual fun foo(x: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun foo(/*rename*/n: Int)
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(n: Int) {
actual class C {
actual fun foo(n: Int) {
}
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(n: Int) {
actual class C {
actual fun foo(n: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
var baz: Int
var bar: Int
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var baz: Int
actual class C {
actual var baz: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var baz: Int
actual class C {
actual var baz: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
var /*rename*/foo: Int
var bar: Int
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var foo: Int
actual class C {
actual var foo: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var foo: Int
actual class C {
actual var foo: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,6 +1,6 @@
package test
header class Foo(x: Int)
expect class Foo(x: Int)
fun test() {
Foo(1)
@@ -1,6 +1,6 @@
package test
impl class Foo(x: Int) {
actual class Foo(x: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(x: Int): this("")
}
@@ -1,6 +1,6 @@
package test
header class Foo(/*rename*/n: Int)
expect class Foo(/*rename*/n: Int)
fun test() {
Foo(1)
@@ -1,6 +1,6 @@
package test
impl class Foo(n: Int) {
actual class Foo(n: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(n: Int): this("")
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
constructor(x: Int)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(x: Int) {
actual class Foo(x: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(x: Int): this("")
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
constructor(/*rename*/n: Int)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(n: Int) {
actual class Foo(n: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(n: Int): this("")
}
@@ -1,8 +1,8 @@
package test
header fun baz()
header fun baz(n: Int)
header fun bar(n: Int)
expect fun baz()
expect fun baz(n: Int)
expect fun bar(n: Int)
fun test() {
baz()
@@ -1,8 +1,8 @@
package test
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
fun test() {
baz()
@@ -1,8 +1,8 @@
package test
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
fun test() {
baz()
@@ -1,8 +1,8 @@
package test
header fun /*rename*/foo()
header fun foo(n: Int)
header fun bar(n: Int)
expect fun /*rename*/foo()
expect fun foo(n: Int)
expect fun bar(n: Int)
fun test() {
foo()
@@ -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,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,6 +1,6 @@
package test
header fun foo(x: Int)
expect fun foo(x: Int)
fun test() {
foo(1)
@@ -1,6 +1,6 @@
package test
impl fun foo(x: Int) {
actual fun foo(x: Int) {
}
@@ -1,6 +1,6 @@
package test
impl fun foo(x: Int) {
actual fun foo(x: Int) {
}
@@ -1,6 +1,6 @@
package test
header fun foo(/*rename*/n: Int)
expect fun foo(/*rename*/n: Int)
fun test() {
foo(1)
@@ -1,6 +1,6 @@
package test
impl fun foo(n: Int) {
actual fun foo(n: Int) {
}
@@ -1,6 +1,6 @@
package test
impl fun foo(n: Int) {
actual fun foo(n: Int) {
}
@@ -1,7 +1,7 @@
package test
header var baz: Int
header var bar: Int
expect var baz: Int
expect var bar: Int
fun test() {
baz
@@ -1,10 +1,10 @@
package test
impl var baz: Int
actual var baz: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
@@ -1,10 +1,10 @@
package test
impl var baz: Int
actual var baz: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
@@ -1,7 +1,7 @@
package test
header var /*rename*/foo: Int
header var bar: Int
expect var /*rename*/foo: Int
expect var bar: Int
fun test() {
foo
@@ -1,10 +1,10 @@
package test
impl var foo: Int
actual var foo: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
@@ -1,10 +1,10 @@
package test
impl var foo: Int
actual var foo: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
@@ -1,7 +1,7 @@
package test
header class Baz
header class Bar
expect class Baz
expect class Bar
fun test() {
val baz: Baz = Baz()
@@ -1,7 +1,7 @@
package test
impl class Baz
impl class Bar
actual class Baz
actual class Bar
fun test() {
val baz: Baz = Baz()
@@ -1,7 +1,7 @@
package test
impl class Baz
impl class Bar
actual class Baz
actual class Bar
fun test() {
val baz: Baz = Baz()
@@ -1,7 +1,7 @@
package test
header class Foo
header class Bar
expect class Foo
expect class Bar
fun test() {
val foo: Foo = Foo()
@@ -1,7 +1,7 @@
package test
impl class /*rename*/Foo
impl class Bar
actual class /*rename*/Foo
actual class Bar
fun test() {
val foo: Foo = Foo()
@@ -1,7 +1,7 @@
package test
impl class Foo
impl class Bar
actual class Foo
actual class Bar
fun test() {
val foo: Foo = Foo()
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun baz()
fun baz(n: Int)
fun bar(n: Int)
@@ -1,9 +1,9 @@
package test
impl class C {
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual class C {
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
}
fun test(c: C) {
@@ -1,9 +1,9 @@
package test
impl class C {
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual class C {
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
}
fun test(c: C) {
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun foo()
fun foo(n: Int)
fun bar(n: Int)
@@ -1,9 +1,9 @@
package test
impl class C {
impl fun /*rename*/foo() { }
impl fun foo(n: Int) { }
impl fun bar(n: Int) { }
actual class C {
actual fun /*rename*/foo() { }
actual fun foo(n: Int) { }
actual fun bar(n: Int) { }
}
fun test(c: C) {
@@ -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) {
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun foo(x: Int)
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(x: Int) {
actual class C {
actual fun foo(x: Int) {
}
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(x: Int) {
actual class C {
actual fun foo(x: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
fun foo(n: Int)
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(/*rename*/n: Int) {
actual class C {
actual fun foo(/*rename*/n: Int) {
}
}
@@ -1,7 +1,7 @@
package test
impl class C {
impl fun foo(n: Int) {
actual class C {
actual fun foo(n: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
var baz: Int
var bar: Int
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var baz: Int
actual class C {
actual var baz: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var baz: Int
actual class C {
actual var baz: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,6 +1,6 @@
package test
header class C {
expect class C {
var foo: Int
var bar: Int
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var /*rename*/foo: Int
actual class C {
actual var /*rename*/foo: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,11 +1,11 @@
package test
impl class C {
impl var foo: Int
actual class C {
actual var foo: Int
get() = 1
set(value) {}
impl var bar: Int
actual var bar: Int
get() = 1
set(value) {}
}
@@ -1,6 +1,6 @@
package test
header class Foo(x: Int)
expect class Foo(x: Int)
fun test() {
Foo(1)
@@ -1,6 +1,6 @@
package test
impl class Foo(x: Int) {
actual class Foo(x: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(x: Int): this("")
}
@@ -1,6 +1,6 @@
package test
header class Foo(n: Int)
expect class Foo(n: Int)
fun test() {
Foo(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,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(n: Int): this("")
}
@@ -1,6 +1,6 @@
package test
header class Foo(x: Int)
expect class Foo(x: Int)
fun test() {
Foo(1)
@@ -1,6 +1,6 @@
package test
impl class Foo(x: Int) {
actual class Foo(x: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(x: Int): this("")
}
@@ -1,6 +1,6 @@
package test
header class Foo(n: Int)
expect class Foo(n: Int)
fun test() {
Foo(1)
@@ -1,6 +1,6 @@
package test
impl class Foo(n: Int) {
actual class Foo(n: Int) {
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(/*rename*/n: Int): this("")
}
@@ -1,8 +1,8 @@
package test
header fun baz()
header fun baz(n: Int)
header fun bar(n: Int)
expect fun baz()
expect fun baz(n: Int)
expect fun bar(n: Int)
fun test() {
baz()
@@ -1,8 +1,8 @@
package test
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
fun test() {
baz()
@@ -1,8 +1,8 @@
package test
impl fun baz() { }
impl fun baz(n: Int) { }
impl fun bar(n: Int) { }
actual fun baz() { }
actual fun baz(n: Int) { }
actual fun bar(n: Int) { }
fun test() {
baz()
@@ -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()
@@ -1,8 +1,8 @@
package test
impl fun /*rename*/foo() { }
impl fun foo(n: Int) { }
impl fun bar(n: Int) { }
actual fun /*rename*/foo() { }
actual fun foo(n: Int) { }
actual fun bar(n: Int) { }
fun test() {
foo()
@@ -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,6 +1,6 @@
package test
header fun foo(x: Int)
expect fun foo(x: Int)
fun test() {
foo(1)
@@ -1,6 +1,6 @@
package test
impl fun foo(x: Int) {
actual fun foo(x: Int) {
}
@@ -1,6 +1,6 @@
package test
impl fun foo(x: Int) {
actual fun foo(x: Int) {
}
@@ -1,6 +1,6 @@
package test
header fun foo(n: Int)
expect fun foo(n: Int)
fun test() {
foo(1)

Some files were not shown because too many files have changed in this diff Show More