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.HashMap
|
||||
|
||||
fun foo() {
|
||||
var list: HashMap<Int, Int> = <caret>HashMap()
|
||||
}
|
||||
Reference in New Issue
Block a user