FIR LC: add support for inline class

This commit is contained in:
Jinseong Jeon
2021-10-27 18:13:15 -07:00
committed by Ilya Kirillov
parent 0e7d1b3945
commit 5880d80d26
5 changed files with 81 additions and 4 deletions
@@ -57,6 +57,9 @@ class KtUltraLightInlineClass(
if (inlineClassParameter != null) {
membersBuilder.propertyAccessors(
inlineClassParameter,
// (inline or) value class primary constructor must have only final read-only (val) property parameter
// Even though the property parameter is mutable (for some reasons, e.g., testing or not checked yet),
// we can enforce immutability here.
mutable = false,
forceStatic = false,
onlyJvmStatic = false