Drop effectively unused parameter with default value

This commit is contained in:
Denis Zharkov
2017-10-05 11:17:15 +03:00
parent 6e59799b54
commit d5376fa8ba
@@ -74,7 +74,7 @@ object KotlinTypeFactory {
annotations: Annotations,
descriptor: ClassDescriptor,
arguments: List<TypeProjection>
): SimpleType = simpleType(annotations, descriptor.typeConstructor, arguments, false, descriptor.getMemberScope(arguments))
): SimpleType = simpleType(annotations, descriptor.typeConstructor, arguments, nullable = false)
@JvmStatic
fun simpleType(
@@ -82,9 +82,8 @@ object KotlinTypeFactory {
annotations: Annotations = baseType.annotations,
constructor: TypeConstructor = baseType.constructor,
arguments: List<TypeProjection> = baseType.arguments,
nullable: Boolean = baseType.isMarkedNullable,
memberScope: MemberScope = baseType.memberScope
): SimpleType = simpleType(annotations, constructor, arguments, nullable, memberScope)
nullable: Boolean = baseType.isMarkedNullable
): SimpleType = simpleType(annotations, constructor, arguments, nullable)
@JvmStatic
fun flexibleType(lowerBound: SimpleType, upperBound: SimpleType): UnwrappedType {