New J2K: do not save import statements in files as we print fqNames for calls
This may cause conflicts on shortening fq references post-processing step
This commit is contained in:
-2
@@ -1,8 +1,6 @@
|
||||
// ERROR: The integer literal does not conform to the expected type CapturedType(*)
|
||||
// ERROR: The integer literal does not conform to the expected type CapturedType(*)
|
||||
// ERROR: Type argument is not within its bounds: should be subtype of 'String?'
|
||||
import java.util.HashMap
|
||||
|
||||
internal class G<T : String?>(t: T)
|
||||
class Java {
|
||||
internal fun test() {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.ArrayList
|
||||
|
||||
internal object A {
|
||||
@JvmStatic
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.util.HashMap
|
||||
|
||||
class TestPrimitiveFromMap {
|
||||
fun foo(map: HashMap<String?, Int?>): Int {
|
||||
return map["zzz"]!!
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.HashMap
|
||||
|
||||
class TestMethodReference {
|
||||
private val hashMap = HashMap<String, String>()
|
||||
fun update(key: String, msg: String) {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.HashMap
|
||||
|
||||
class TestMethodReference {
|
||||
private val hashMap = HashMap<String, String>()
|
||||
fun update(key: String, msg: String) {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.ArrayList
|
||||
|
||||
internal interface FooInterface {
|
||||
fun foo(): ArrayList<out Foo.SomeClass?>?
|
||||
}
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
import java.util.HashMap
|
||||
|
||||
class TestClass {
|
||||
private val hashMap: Map<String, List<Int>> = HashMap()
|
||||
}
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
import java.util.ArrayList
|
||||
import java.util.function.Consumer
|
||||
|
||||
internal class Test {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import java.util.ArrayList
|
||||
|
||||
internal class A {
|
||||
var list: List<String> = ArrayList()
|
||||
}
|
||||
Reference in New Issue
Block a user