Replace types that are imported by default via typealiases such as java.util.ArrayList with something else as it conflicts now with kotlin.collections.ArrayList and has to imported explicitly.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// IMPORT: java.util.ArrayList
|
||||
import pack1.ArrayList
|
||||
// IMPORT: java.util.concurrent.ConcurrentHashMap
|
||||
import pack1.ConcurrentHashMap
|
||||
|
||||
fun foo() {
|
||||
ArrayList()
|
||||
ArrayList<String>()
|
||||
ConcurrentHashMap()
|
||||
ConcurrentHashMap<String, String>()
|
||||
}
|
||||
Reference in New Issue
Block a user