Tests/PCLA: extend the test for KT-55168
#KT-55168 As Designed
This commit is contained in:
committed by
Space Team
parent
fc9aacfde3
commit
75ecba5a4a
Vendored
+8
@@ -6,3 +6,11 @@ fun foo(arg: Boolean) = buildList {
|
||||
add(<!ARGUMENT_TYPE_MISMATCH!>42<!>)
|
||||
}
|
||||
}
|
||||
|
||||
fun bar(arg: Boolean) = buildList {
|
||||
if (!arg) {
|
||||
add(42)
|
||||
} else {
|
||||
removeLast()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user