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,3 +1,3 @@
package test
header class ChildOfFoo : Foo()
expect class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
open class Foo
impl class ChildOfFoo : Foo()
actual class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
open class Foo
impl class ChildOfFoo : Foo()
actual class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
header open class <caret>Foo
header class ChildOfFoo : Foo()
expect open class <caret>Foo
expect class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
impl open class Foo
impl class ChildOfFoo : Foo()
actual open class Foo
actual class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
impl open class Foo
impl class ChildOfFoo : Foo()
actual open class Foo
actual class ChildOfFoo : Foo()
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
}
fun test(f: Foo) {
@@ -1,6 +1,6 @@
package test
impl class Foo {
actual class Foo {
fun foo(n: Int) {
}
@@ -1,6 +1,6 @@
package test
impl class Foo {
actual class Foo {
fun foo(n: Int) {
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun <caret>foo(n: Int)
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
}
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun foo()
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo() {
actual class Foo {
actual fun foo() {
n + 1
}
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo() {
actual class Foo {
actual fun foo() {
n + 1
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun foo(<caret>n: Int)
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
n + 1
}
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
n + 1
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
}
fun test(f: Foo) = f.foo
@@ -1,6 +1,6 @@
package test
impl class Foo {
actual class Foo {
val foo get() = 1
}
@@ -1,6 +1,6 @@
package test
impl class Foo {
actual class Foo {
val foo get() = 2
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
val <caret>foo: Int
}
@@ -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
@@ -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,6 +1,6 @@
package test
header class Foo()
expect class Foo()
fun test() {
Foo()
@@ -1,6 +1,6 @@
package test
impl class Foo() {
actual class Foo() {
val x = n + 1
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(): this("") {
val x = n + 1
}
@@ -1,6 +1,6 @@
package test
header class Foo(<caret>n: Int)
expect class Foo(<caret>n: Int)
fun test() {
Foo(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,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(n: Int): this("") {
val x = n + 1
}
@@ -1,6 +1,6 @@
package test
header open class Foo {
expect open class Foo {
}
fun test() = Foo(1)
@@ -1,6 +1,6 @@
package test
impl open class Foo {
actual open class Foo {
constructor(n: Int)
}
@@ -1,6 +1,6 @@
package test
impl open class Foo {
actual open class Foo {
constructor(n: Int)
}
@@ -1,6 +1,6 @@
package test
header open class Foo {
expect open class Foo {
<caret>constructor(n: Int)
}
@@ -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)
@@ -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,6 +1,6 @@
package test
header class Foo {
expect class Foo {
constructor()
}
@@ -1,6 +1,6 @@
package test
impl class Foo() {
actual class Foo() {
val x = n + 1
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(): this("") {
val x = n + 1
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
constructor(<caret>n: Int)
}
@@ -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,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(n: Int): this("") {
val x = n + 1
}
@@ -1,6 +1,6 @@
package test
header fun <caret>foo(n: Int)
expect fun <caret>foo(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,6 +1,6 @@
package test
header fun foo()
expect fun foo()
fun test() {
foo()
@@ -1,6 +1,6 @@
package test
impl fun foo() {
actual fun foo() {
n + 1
}
@@ -1,6 +1,6 @@
package test
impl fun foo() {
actual fun foo() {
n + 1
}
@@ -1,6 +1,6 @@
package test
header fun foo(<caret>n: Int)
expect fun foo(<caret>n: Int)
fun test() {
foo(1)
@@ -1,6 +1,6 @@
package test
impl fun foo(n: Int) {
actual fun foo(n: Int) {
n + 1
}
@@ -1,6 +1,6 @@
package test
impl fun foo(n: Int) {
actual fun foo(n: Int) {
n + 1
}
@@ -1,6 +1,6 @@
package test
header fun foo(s: String)
expect fun foo(s: String)
fun test() {
foo("1")
@@ -1,6 +1,6 @@
package test
impl fun foo(s: String) {
actual fun foo(s: String) {
n.size
}
@@ -1,6 +1,6 @@
package test
impl fun foo(s: String) {
actual fun foo(s: String) {
n.size
}
@@ -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,6 +1,6 @@
package test
impl fun foo(s: String, vararg n: Int) {
actual fun foo(s: String, vararg n: Int) {
n.size
}
@@ -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,5 +1,5 @@
package test
header val <caret>foo: Int
expect val <caret>foo: Int
fun test() = foo
@@ -1,5 +1,5 @@
package test
impl val foo get() = 1
actual val foo get() = 1
fun test() = foo
@@ -1,5 +1,5 @@
package test
impl val foo get() = 2
actual val foo get() = 2
fun test() = foo
@@ -1,4 +1,4 @@
package test
header open class Foo
header class ChildOfFoo : Foo()
expect open class Foo
expect class ChildOfFoo : Foo()
@@ -1,3 +1,3 @@
package test
impl class ChildOfFoo : Foo()
actual class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
impl open class Foo
impl class ChildOfFoo : Foo()
actual open class Foo
actual class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
header open class Foo
header class ChildOfFoo : Foo()
expect open class Foo
expect class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
impl open class <caret>Foo
impl class ChildOfFoo : Foo()
actual open class <caret>Foo
actual class ChildOfFoo : Foo()
@@ -1,4 +1,4 @@
package test
impl open class Foo
impl class ChildOfFoo : Foo()
actual open class Foo
actual class ChildOfFoo : Foo()
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun foo(n: Int)
}
@@ -1,6 +1,6 @@
package test
impl class Foo {
actual class Foo {
}
fun test(f: Foo) {
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun foo(n: Int)
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun <caret>foo(n: Int) {
actual class Foo {
actual fun <caret>foo(n: Int) {
}
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun foo()
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo() {
actual class Foo {
actual fun foo() {
n + 1
}
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo() {
actual class Foo {
actual fun foo() {
n + 1
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
fun foo(n: Int)
}
@@ -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
}
}
@@ -1,7 +1,7 @@
package test
impl class Foo {
impl fun foo(n: Int) {
actual class Foo {
actual fun foo(n: Int) {
n + 1
}
}
@@ -1,6 +1,6 @@
package test
header class Foo {
expect class Foo {
val foo: Int
}
@@ -1,6 +1,6 @@
package test
impl class Foo {
actual class Foo {
}
fun test(f: Foo) = f.foo
@@ -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,6 +1,6 @@
package test
header class Foo {
expect class Foo {
val foo: Int
}
@@ -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
@@ -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,6 +1,6 @@
package test
header class Foo()
expect class Foo()
fun test() {
Foo()
@@ -1,6 +1,6 @@
package test
impl class Foo() {
actual class Foo() {
val x = n + 1
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(): this("") {
val x = n + 1
}
@@ -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(<caret>n: Int) {
actual class Foo(<caret>n: Int) {
val x = n + 1
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("") {
val x = n + 1
}
@@ -1,6 +1,6 @@
package test
header open class Foo {
expect open class Foo {
constructor(n: Int)
}
@@ -1,6 +1,6 @@
package test
impl open class Foo {
actual open class Foo {
}
fun test() = Foo(1)
@@ -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,6 +1,6 @@
package test
header open class Foo {
expect open class Foo {
constructor(n: Int)
}
@@ -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)
@@ -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,6 +1,6 @@
package test
header class Foo()
expect class Foo()
fun test() {
Foo()
@@ -1,6 +1,6 @@
package test
impl class Foo() {
actual class Foo() {
val x = n + 1
constructor(s: String): this(0)
}
@@ -1,6 +1,6 @@
package test
impl class Foo(s: String) {
actual class Foo(s: String) {
constructor(): this("") {
val x = n + 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