[FIR] Fix class cast exception in ConeInferenceContext
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6215662e33
commit
a453ed50fa
+1
-1
@@ -60,7 +60,7 @@ interface ConeInferenceContext : TypeSystemInferenceExtensionContext,
|
|||||||
when (constructor) {
|
when (constructor) {
|
||||||
is ConeClassLikeSymbol -> return ConeClassTypeImpl(
|
is ConeClassLikeSymbol -> return ConeClassTypeImpl(
|
||||||
constructor.toLookupTag(),
|
constructor.toLookupTag(),
|
||||||
arguments.cast(),
|
(arguments as List<ConeKotlinTypeProjection>).toTypedArray(),
|
||||||
nullable
|
nullable
|
||||||
)
|
)
|
||||||
else -> error("!")
|
else -> error("!")
|
||||||
|
|||||||
Reference in New Issue
Block a user