migrate KmValueParameter.type (KmType? -> lateinit KmType)

This commit is contained in:
Starlight220
2021-09-29 17:41:13 +03:00
committed by Alexander Udalov
parent 5690a9f21b
commit e77f72071d
3 changed files with 4 additions and 3 deletions
@@ -196,7 +196,7 @@ object CirDeserializers {
CirValueParameter.createInterned(
annotations = annotations(source.flags, typeResolver, source::annotations),
name = CirName.create(source.name),
returnType = type(source.type!!, typeResolver),
returnType = type(source.type, typeResolver),
varargElementType = source.varargElementType?.let { type(it, typeResolver) },
declaresDefaultValue = Flag.ValueParameter.DECLARES_DEFAULT_VALUE(source.flags),
isCrossinline = Flag.ValueParameter.IS_CROSSINLINE(source.flags),