Use TypeSubstitutor to get the substituted underlying type for inline

classes, instead of MemberScope.

The primary motivation was to fix issues around type-mapping for inline
classes in FIR, which uses wrapped descriptors that have empty
MemberScopes.
This commit is contained in:
Mark Punzalan
2020-05-29 16:02:58 -07:00
committed by Mikhail Glukhikh
parent 88b130308d
commit 802beb49a6
27 changed files with 3 additions and 27 deletions
@@ -1,5 +1,4 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND_FIR: JVM_IR
inline class Z1(val x: String?)
inline class Z2(val z: Z1)