Add ir interpreter tests
This commit is contained in:
committed by
TeamCityServer
parent
cc2d7340dc
commit
e28ab45c51
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import kotlin.collections.*
|
||||
|
||||
@CompileTimeCalculation
|
||||
class A(val a: Int) {
|
||||
val String.size: Int
|
||||
get() = this.length * a
|
||||
}
|
||||
|
||||
//const val kproperty2Get = A::class.members.toList()[1].call(A(2), "123").toString() TODO -> `6`
|
||||
Reference in New Issue
Block a user