FIR: Fix capturing of flexible types
This commit is contained in:
@@ -6,6 +6,6 @@ import java.util.stream.IntStream
|
||||
|
||||
fun main() {
|
||||
val xs = IntStream.range(0, 10).mapToObj { it.toString() }
|
||||
.<!INAPPLICABLE_CANDIDATE!>collect<!>(Collectors.toList())
|
||||
.collect(Collectors.toList())
|
||||
<!UNRESOLVED_REFERENCE!>xs[0]<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user