[FIR] Resolve arguments of error types during type resolution
This commit is contained in:
committed by
Space Team
parent
bc93556dbb
commit
bd26c29229
@@ -43,14 +43,12 @@ class ConeClassLikeErrorLookupTag(override val classId: ClassId) : ConeClassLike
|
||||
class ConeErrorType(
|
||||
val diagnostic: ConeDiagnostic,
|
||||
val isUninferredParameter: Boolean = false,
|
||||
override val typeArguments: Array<out ConeTypeProjection> = EMPTY_ARRAY,
|
||||
override val attributes: ConeAttributes = ConeAttributes.Empty
|
||||
) : ConeClassLikeType() {
|
||||
override val lookupTag: ConeClassLikeLookupTag
|
||||
get() = ConeClassLikeErrorLookupTag(ClassId.fromString("<error>"))
|
||||
|
||||
override val typeArguments: Array<out ConeTypeProjection>
|
||||
get() = EMPTY_ARRAY
|
||||
|
||||
override val nullability: ConeNullability
|
||||
get() = ConeNullability.UNKNOWN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user