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:
committed by
Mikhail Glukhikh
parent
88b130308d
commit
802beb49a6
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
inline class Inner(val w: String)
|
||||
inline class A(val x: Inner)
|
||||
|
||||
Reference in New Issue
Block a user