[IR] Support const optimizations for JS backend
This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
// !LANGUAGE: +IntrinsicConstEvaluation
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_K1: JVM_IR
|
||||
// TARGET_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND_K1: JVM_IR, JS_IR, JS_IR_ES6
|
||||
|
||||
fun <T> T.id() = this
|
||||
|
||||
class A(val OK: Int, val somePropertyWithLongName: String) {
|
||||
|
||||
Reference in New Issue
Block a user