[IR] Print evaluated const directly into interpreter's tests

This commit is contained in:
Ivan Kylchik
2023-04-07 17:16:01 +02:00
committed by Space Team
parent 0b70b7904d
commit 5956e9b500
54 changed files with 1459 additions and 1375 deletions
@@ -7,7 +7,7 @@ fun ObjectWithExtension?.nullableExtensionFun(): String =
"Not null"
fun ObjectWithExtension.extensionFun(): String =
if(this == null)
if(<!EVALUATED("false")!>this == null<!>)
"Null" // unreachable branch, will be optimized by interpreter
else
"Not null"