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:
+2
-2
@@ -1,4 +1,4 @@
|
||||
// IMPORT: java.util.HashMap
|
||||
// IMPORT: java.util.Calendar
|
||||
package p
|
||||
|
||||
import java.sql.*
|
||||
@@ -9,5 +9,5 @@ import java.util.HashSet as JavaHashSet // alias import should not be dropped
|
||||
fun foo() {
|
||||
val v1 = JavaHashSet()
|
||||
val v2 = Date()
|
||||
val v3 = ArrayList()
|
||||
val v3 = Properties()
|
||||
}
|
||||
Reference in New Issue
Block a user