Files
kotlin-fork/compiler/testData/compileKotlinAgainstCustomBinaries/wrongInlineTarget/warningsOnly.kt
T
Mikhael Bogdanov a020170a92 Report missed INLINE_FROM_HIGHER_PLATFORM diagnostic for derived class
Inline function descriptor in derived class represented as FAKE_OVERRIDE.
 So we should find it in base class declaration
 (not interface cause inline function can't be virtual, but always final)
 and then check class version.

 #KT-29402 Fixed
2019-02-19 10:51:36 +01:00

19 lines
261 B
Kotlin
Vendored

package usage
import a.*
class Derived : Base() {
fun test() {
inlineFunBase {}
inlineGetterBase
inlineGetterBase = 1
inlineSetterBase
inlineSetterBase = 1
allInlineBase
allInlineBase = 1
}
}