[IR] Print evaluated const directly into interpreter's tests
This commit is contained in:
@@ -12,8 +12,8 @@ object Test {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
if (!Test.foo().startsWith("foo ")) return "Fail ${Test.foo()}"
|
||||
if (!Test.bar().startsWith("bar ")) return "Fail ${Test.bar()}"
|
||||
if (!Test.baz().startsWith("baz ")) return "Fail ${Test.baz()}"
|
||||
if (!Test.foo().startsWith("foo ")) return "<!EVALUATED("Fail ")!>Fail <!>${Test.foo()}"
|
||||
if (!Test.bar().startsWith("bar ")) return "<!EVALUATED("Fail ")!>Fail <!>${Test.bar()}"
|
||||
if (!Test.baz().startsWith("baz ")) return "<!EVALUATED("Fail ")!>Fail <!>${Test.baz()}"
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user