FIR LC: add support for inline class
This commit is contained in:
committed by
Ilya Kirillov
parent
0e7d1b3945
commit
5880d80d26
+3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user