[FIR] Add workaround for unresolved array literal type #KT-61843
#KT-61367
This commit is contained in:
committed by
Space Team
parent
462687ed66
commit
6d8091f0ff
@@ -222,6 +222,10 @@ fun Candidate.resolvePlainExpressionArgument(
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
if (expectedType == null) return
|
if (expectedType == null) return
|
||||||
|
|
||||||
|
// TODO Remove when KT-61843 is fixed
|
||||||
|
if (argument is FirArrayLiteral && !argument.isResolved) return
|
||||||
|
|
||||||
val argumentType = argument.resolvedType
|
val argumentType = argument.resolvedType
|
||||||
resolvePlainArgumentType(
|
resolvePlainArgumentType(
|
||||||
csBuilder,
|
csBuilder,
|
||||||
|
|||||||
Reference in New Issue
Block a user