Drop effectively unused parameter with default value
This commit is contained in:
@@ -74,7 +74,7 @@ object KotlinTypeFactory {
|
|||||||
annotations: Annotations,
|
annotations: Annotations,
|
||||||
descriptor: ClassDescriptor,
|
descriptor: ClassDescriptor,
|
||||||
arguments: List<TypeProjection>
|
arguments: List<TypeProjection>
|
||||||
): SimpleType = simpleType(annotations, descriptor.typeConstructor, arguments, false, descriptor.getMemberScope(arguments))
|
): SimpleType = simpleType(annotations, descriptor.typeConstructor, arguments, nullable = false)
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun simpleType(
|
fun simpleType(
|
||||||
@@ -82,9 +82,8 @@ object KotlinTypeFactory {
|
|||||||
annotations: Annotations = baseType.annotations,
|
annotations: Annotations = baseType.annotations,
|
||||||
constructor: TypeConstructor = baseType.constructor,
|
constructor: TypeConstructor = baseType.constructor,
|
||||||
arguments: List<TypeProjection> = baseType.arguments,
|
arguments: List<TypeProjection> = baseType.arguments,
|
||||||
nullable: Boolean = baseType.isMarkedNullable,
|
nullable: Boolean = baseType.isMarkedNullable
|
||||||
memberScope: MemberScope = baseType.memberScope
|
): SimpleType = simpleType(annotations, constructor, arguments, nullable)
|
||||||
): SimpleType = simpleType(annotations, constructor, arguments, nullable, memberScope)
|
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun flexibleType(lowerBound: SimpleType, upperBound: SimpleType): UnwrappedType {
|
fun flexibleType(lowerBound: SimpleType, upperBound: SimpleType): UnwrappedType {
|
||||||
|
|||||||
Reference in New Issue
Block a user