Simplify for intention: applicable of any numbers of properties used #KT-10779 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
data class My(val first: String, val second: Int)
|
||||
|
||||
fun foo(list: List<My>) {
|
||||
for (<caret>my in list) {
|
||||
println(my.second)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user