Migration: expect/actual in diagnostic tests
This commit is contained in:
+6
-6
@@ -1,7 +1,7 @@
|
||||
<!UNSUPPORTED_FEATURE!>header<!> fun foo1()
|
||||
<!UNSUPPORTED_FEATURE!>header<!> val bar1 = <!HEADER_PROPERTY_INITIALIZER!>42<!>
|
||||
<!UNSUPPORTED_FEATURE!>header<!> class Baz1
|
||||
<!UNSUPPORTED_FEATURE!>expect<!> fun foo1()
|
||||
<!UNSUPPORTED_FEATURE!>expect<!> val bar1 = <!HEADER_PROPERTY_INITIALIZER!>42<!>
|
||||
<!UNSUPPORTED_FEATURE!>expect<!> class Baz1
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>impl<!> fun foo2() = 42
|
||||
<!MUST_BE_INITIALIZED!><!UNSUPPORTED_FEATURE!>impl<!> val bar2: Int<!>
|
||||
<!UNSUPPORTED_FEATURE!>impl<!> interface Baz2
|
||||
<!UNSUPPORTED_FEATURE!>actual<!> fun foo2() = 42
|
||||
<!MUST_BE_INITIALIZED!><!UNSUPPORTED_FEATURE!>actual<!> val bar2: Int<!>
|
||||
<!UNSUPPORTED_FEATURE!>actual<!> interface Baz2
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
package
|
||||
|
||||
public impl val bar2: kotlin.Int
|
||||
public impl fun foo2(): kotlin.Int
|
||||
public actual val bar2: kotlin.Int
|
||||
public actual fun foo2(): kotlin.Int
|
||||
|
||||
public impl interface Baz2 {
|
||||
public actual interface Baz2 {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user