Make InsertImplicitCasts work with Descriptors and KotlinTypes again

This is a temporary change to make sure IrType infrastructure work is in
master.

It causes some of irText tests to work incorrectly (as in master).
This commit is contained in:
Dmitry Petrov
2019-06-24 16:48:59 +03:00
parent 8da5f6b955
commit b3b7e26985
31 changed files with 464 additions and 399 deletions
@@ -124,6 +124,7 @@ class TypeOperatorLowering(val context: JsIrBackendContext) : FileLoweringPass {
}
private fun lowerImplicitDynamicCast(expression: IrTypeOperatorCall) = expression.run {
// TODO check argument
assert(operator == IrTypeOperator.IMPLICIT_DYNAMIC_CAST)
argument
}