[Tests] Add missing diagnostics handler to irText tests
Merge-request: KT-MR-11721 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
ccfbb5f77a
commit
90904e4f8a
@@ -1,27 +1,24 @@
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
fun test1(c: Boolean?) {
|
||||
L@ while (true) {
|
||||
L2@while (c ?: break)
|
||||
L2@while (c ?: break) ;
|
||||
}
|
||||
}
|
||||
|
||||
fun test2(c: Boolean?) {
|
||||
L@ while (true) {
|
||||
L2@while (c ?: continue)
|
||||
L2@while (c ?: continue) ;
|
||||
}
|
||||
}
|
||||
|
||||
fun test3(ss: List<String>?) {
|
||||
L@ while (true) {
|
||||
L2@for (s in ss ?: continue)
|
||||
L2@for (s in ss ?: continue) ;
|
||||
}
|
||||
}
|
||||
|
||||
fun test4(ss: List<String>?) {
|
||||
L@ while (true) {
|
||||
L2@for (s in ss ?: break)
|
||||
L2@for (s in ss ?: break) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user