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,8 +1,8 @@
|
||||
// IMPORT: java.util.ArrayList
|
||||
import pack1.ArrayList
|
||||
import java.util.*
|
||||
// IMPORT: java.util.concurrent.ConcurrentHashMap
|
||||
import pack1.ConcurrentHashMap
|
||||
import java.util.concurrent.*
|
||||
|
||||
fun foo() {
|
||||
ArrayList()
|
||||
ArrayList<String>()
|
||||
ConcurrentHashMap()
|
||||
ConcurrentHashMap<String, String>()
|
||||
}
|
||||
Reference in New Issue
Block a user