CompileTimeConstantUtils: use getConstant instead of evaluate
Hacky way to avoid passing builtins into this code
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun box() : String = when (true) {
|
||||
((true)) -> "OK"
|
||||
(1 == 2) -> "Not ok"
|
||||
}
|
||||
Reference in New Issue
Block a user