a20e29e8b7
The JsAllowValueClassesInExternals feature is enabled explicitly, because otherwise it's enabled implicitly depending on the backend. See: org/jetbrains/kotlin/test/builders/LanguageVersionSettingsBuilder.kt:90 A property may have a fake source return kind, while its accessor has a real source kind. In this case we can't "just copy" the property return type down to the accessor.
22 lines
586 B
Kotlin
Vendored
22 lines
586 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
external annotation class <!WRONG_EXTERNAL_DECLARATION!>A(val x: Int)<!>
|
|
|
|
val x: Int
|
|
<!WRONG_EXTERNAL_DECLARATION!>external get()<!> = definedExternally
|
|
|
|
class B
|
|
|
|
<!WRONG_EXTERNAL_DECLARATION!>val B.x: Int<!>
|
|
<!WRONG_EXTERNAL_DECLARATION!>external get()<!> = definedExternally
|
|
|
|
class C {
|
|
val a: Int
|
|
<!WRONG_EXTERNAL_DECLARATION!>external get()<!> = definedExternally
|
|
}
|
|
|
|
external class D {
|
|
val a: Int
|
|
<!WRONG_EXTERNAL_DECLARATION!>external get()<!> = definedExternally
|
|
}
|
|
|
|
external data class <!WRONG_EXTERNAL_DECLARATION!>E(val x: Int)<!> |