Files
kotlin/compiler/testData/diagnostics/testsWithJsStdLib/native/extensionFunctionAndProperty.kt
2017-01-24 20:14:31 +03:00

10 lines
305 B
Kotlin
Vendored

class A
<!WRONG_EXTERNAL_DECLARATION!>external fun A.foo(): Unit<!> = definedExternally
<!WRONG_EXTERNAL_DECLARATION!>external var A.bar: String<!>
get() = definedExternally
set(value) = definedExternally
<!WRONG_EXTERNAL_DECLARATION!>external val A.baz: String<!>
get() = definedExternally