[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) {
|
||||
is ConeClassLikeSymbol -> return ConeClassTypeImpl(
|
||||
constructor.toLookupTag(),
|
||||
arguments.cast(),
|
||||
(arguments as List<ConeKotlinTypeProjection>).toTypedArray(),
|
||||
nullable
|
||||
)
|
||||
else -> error("!")
|
||||
|
||||
Reference in New Issue
Block a user