Value classes: Add isValue property to class descriptors
Reuse isInline flag in proto and IR. Check metadata version on deserialization.
This commit is contained in:
+1
@@ -80,6 +80,7 @@ class CommonizedClassDescriptor(
|
||||
override fun isExpect() = isExpect
|
||||
override fun isActual() = isActual
|
||||
override fun isFun() = false // TODO: modifier "fun" should be accessible from here too
|
||||
override fun isValue() = false // TODO: modifier "value" should be accessible from here too
|
||||
|
||||
override fun getUnsubstitutedMemberScope(kotlinTypeRefiner: KotlinTypeRefiner): CommonizedMemberScope {
|
||||
check(kotlinTypeRefiner == KotlinTypeRefiner.Default) {
|
||||
|
||||
Reference in New Issue
Block a user