FIR: implement checker for open members
Specifically, 1. NON_FINAL_MEMBER_IN_FINAL_CLASS 2. NON_FINAL_MEMBER_IN_OBJECT
This commit is contained in:
committed by
Mikhail Glukhikh
parent
3e9ff3ecda
commit
6b453d9b23
+1
-1
@@ -24,7 +24,7 @@ value class A6(x: Int, val y: Int)
|
||||
@JvmInline
|
||||
value class A7(vararg val x: Int)
|
||||
@JvmInline
|
||||
value class A8(open val x: Int)
|
||||
value class A8(<!NON_FINAL_MEMBER_IN_FINAL_CLASS!>open<!> val x: Int)
|
||||
@JvmInline
|
||||
value class A9(final val x: Int)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user