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.
20 lines
576 B
Kotlin
Vendored
20 lines
576 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -NOTHING_TO_INLINE
|
|
|
|
<!INLINE_EXTERNAL_DECLARATION!>inline external fun foo(): Unit<!>
|
|
|
|
inline external val bar: Int
|
|
<!INLINE_EXTERNAL_DECLARATION!>get()<!> = definedExternally
|
|
|
|
external val baz: Int
|
|
<!INLINE_EXTERNAL_DECLARATION!>inline get()<!> = definedExternally
|
|
|
|
external class A {
|
|
<!INLINE_EXTERNAL_DECLARATION!>inline fun foo(): Unit<!>
|
|
|
|
inline val bar: Int
|
|
<!INLINE_EXTERNAL_DECLARATION!>get()<!> = definedExternally
|
|
|
|
val baz: Int
|
|
<!INLINE_EXTERNAL_DECLARATION!>inline get()<!> = definedExternally
|
|
} |