Value classes: Add JvmInlineValueClasses language feature

This commit is contained in:
Ilmir Usmanov
2020-12-17 20:27:32 +01:00
parent 48d9812d9e
commit f922ebbfc3
9 changed files with 71 additions and 7 deletions
@@ -13,4 +13,4 @@ annotation class JvmInline
<!VALUE_CLASS_WITHOUT_JVM_INLINE_ANNOTATION, WRONG_MODIFIER_TARGET!>value<!> enum class InlineEnum
@JvmInline
<!UNSUPPORTED_FEATURE!>value<!> class NotVal(<!INLINE_CLASS_CONSTRUCTOR_NOT_FINAL_READ_ONLY_PARAMETER!>x: Int<!>)
<!UNSUPPORTED_FEATURE!>value<!> class NotVal(x: Int)