FIR Java: map classes to make java type-parameters have correct bounds
Really, this commit implements early J2K mapping for all Java types. It's questionable and probably wrong at least for super-types, because, for example, we cannot resolve spliterator() in classes derived from java.lang.Iterable
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cb91c6b977
commit
3e69838f48
+1
-1
@@ -1,2 +1,2 @@
|
||||
public abstract interface ArraysInSubtypes : R|java/lang/Object| {
|
||||
public abstract interface ArraysInSubtypes : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
public abstract interface MethodTypeParameterErased : R|java/lang/Object| {
|
||||
public abstract interface MethodTypeParameterErased : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
public open class RawSuperType : R|java/lang/Object| {
|
||||
public open class RawSuperType : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
public open class RawSuperTypeWithBound : R|java/lang/Object| {
|
||||
public open class RawSuperTypeWithBound : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
public open class RawSuperTypeWithRecursiveBound : R|java/lang/Object| {
|
||||
public open class RawSuperTypeWithRecursiveBound : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
public open class RawSuperTypeWithRecursiveBoundMultipleParameters : R|java/lang/Object| {
|
||||
public open class RawSuperTypeWithRecursiveBoundMultipleParameters : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
public abstract interface ReturnInnerSubclassOfSupersInner : R|java/lang/Object| {
|
||||
public abstract interface ReturnInnerSubclassOfSupersInner : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
public abstract interface SubclassWithRawType : R|java/lang/Object| {
|
||||
public abstract interface SubclassWithRawType : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public abstract interface TwoSuperclassesInconsistentGenericTypes : R|java/lang/Object| {
|
||||
public abstract interface TwoSuperclassesInconsistentGenericTypes : R|kotlin/Any| {
|
||||
public abstract operator fun foo(): R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|!
|
||||
|
||||
public abstract operator fun dummy(): R|kotlin/Unit|
|
||||
|
||||
Reference in New Issue
Block a user