override val arguments: List<AstType>
get() = type.arguments.map {
val argumentType = checkNotNull(it.type) {
"Couldn't resolve type for $it with variance ${it.variance} from parent type $type"
}
KSAstType(resolver, argumentType)
}
This may crash, if the type is null and this happens in some cases for star projections as highlighted in #411. This exception is caught only when checking for wrongly placed qualifiers for now.
Following code exists as is today in
KSAstType
:This may crash, if the
type
is null and this happens in some cases for star projections as highlighted in #411. This exception is caught only when checking for wrongly placed qualifiers for now.