[Tests] Trim contents before checking for FIR_IDENTICAL
This commit is contained in:
committed by
Space Team
parent
6b919e2593
commit
10e94f90ac
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// completion order here: X, Y, WHEN_VARIABLE
|
||||
fun <T> List<T>.optimizeReadOnlyList() = when (size) {
|
||||
0 -> emptyList() // here type variable Y will be fixed to Nothing
|
||||
|
||||
Reference in New Issue
Block a user