KT 13962: Intention to replace Java collection constructor calls with function calls from stdlib (ArrayList() → arrayListOf())
This commit is contained in:
committed by
Mikhail Glukhikh
parent
bbeb65905e
commit
0e716fd528
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
import java.util.HashSet
|
||||
|
||||
fun foo() {
|
||||
var list: HashSet<Int> = <caret>HashSet()
|
||||
}
|
||||
Reference in New Issue
Block a user