Files
kotlin-fork/js/js.translator/testFiles/inline/cases/methodWithReferenceToThis.kt
T

11 lines
192 B
Kotlin

package foo
fun box() : Boolean {
return !(A(false).myInlineMethod()) and A(true).myInlineMethod()
}
class A(val a : Boolean) {
inline fun myInlineMethod() : Boolean {
return a
}
}