psi2ir: ersatz type approximation for intersection types

Emulate old JVM back-end behavior for intersection type mapping.

IrType renderer should render the IR type, not the original Kotlin type.
This commit is contained in:
Dmitry Petrov
2018-12-06 16:54:35 +03:00
parent 0e4908087c
commit f8582c1929
11 changed files with 599 additions and 71 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE