[IR] Print evaluated const directly into interpreter's tests
This commit is contained in:
-14
@@ -1,14 +0,0 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
annotation class Key(val value: String)
|
||||
|
||||
object Messanger {
|
||||
const val DEFAULT_TEXT = "OK"
|
||||
|
||||
fun message(@Key(value = DEFAULT_TEXT) text: String = DEFAULT_TEXT): String {
|
||||
return text
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Messanger.message()
|
||||
}
|
||||
Reference in New Issue
Block a user