[IR] Drop duplicated meta info from interpreters tests
This commit is contained in:
@@ -8,10 +8,11 @@ const val simple = <!EVALUATED("OK 3.5")!>"O${'K'} ${1.toLong() + 2.5}"<!>
|
||||
const val withInnerConcatenation = <!EVALUATED("1 2 3 4 5 6")!>"1 ${"2 ${3} ${4} 5"} 6"<!>
|
||||
const val withNull = <!EVALUATED("1 null")!>"1 ${null}"<!> // but `"1" + null` is invalid
|
||||
|
||||
// STOP_EVALUATION_CHECKS
|
||||
fun box(): String {
|
||||
if (<!EVALUATED("OK 3.5")!>simple<!>.id() != "OK 3.5") return "Fail 1"
|
||||
if (<!EVALUATED("1 2 3 4 5 6")!>withInnerConcatenation<!>.id() != "1 2 3 4 5 6") return "Fail 2"
|
||||
if (<!EVALUATED("1 null")!>withNull<!>.id() != "1 null") return "Fail 3"
|
||||
if (simple.id() != "OK 3.5") return "Fail 1"
|
||||
if (withInnerConcatenation.id() != "1 2 3 4 5 6") return "Fail 2"
|
||||
if (withNull.id() != "1 null") return "Fail 3"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user