IR: IMPLICIT_DYNAMIC_CAST
Generate IMPLICIT_DYNAMIC_CAST for implicit casts from `dynamic` to `T`
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ open class InsertImplicitCasts(
|
||||
if (expectedType.isNullableAny()) {
|
||||
this
|
||||
} else {
|
||||
implicitCast(expectedType, IrTypeOperator.IMPLICIT_CAST)
|
||||
implicitCast(expectedType, IrTypeOperator.IMPLICIT_DYNAMIC_CAST)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user