Simplifiable call: support case w/out receiver, add minor enhancements
Related to KT-30501
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun List<Any>.test() {
|
||||
<caret>filter { it is String }
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun List<Any>.test() {
|
||||
filterIsInstance<String>()
|
||||
}
|
||||
Reference in New Issue
Block a user