Refactoring. Remove getSubstitution from KotlinType.
This commit is contained in:
@@ -121,7 +121,6 @@ internal object RawSubstitution : TypeSubstitution() {
|
||||
parameter ->
|
||||
computeProjection(parameter, attr)
|
||||
},
|
||||
RawSubstitution,
|
||||
declaration.getMemberScope(RawSubstitution),
|
||||
RawTypeCapabilities
|
||||
)
|
||||
|
||||
-1
@@ -136,7 +136,6 @@ private fun KotlinType.enhanceInflexible(qualifiers: (Int) -> JavaTypeQualifiers
|
||||
typeConstructor,
|
||||
enhancedNullability,
|
||||
enhancedArguments,
|
||||
newSubstitution,
|
||||
if (enhancedClassifier is ClassDescriptor)
|
||||
enhancedClassifier.getMemberScope(newSubstitution)
|
||||
else enhancedClassifier.getDefaultType().getMemberScope(),
|
||||
|
||||
Reference in New Issue
Block a user