[FIR] Add NON_FINAL_JVM_RECORD diagnostic

This commit is contained in:
Andrey Zinovyev
2021-08-19 12:03:11 +03:00
committed by Space
parent 6b70aecad5
commit c8381e9b0f
11 changed files with 46 additions and 3 deletions
@@ -25,13 +25,13 @@ class A4(var name: String)
class A5(vararg val name: String, y: Int)
@JvmRecord
open class A6(val x: String)
<!NON_FINAL_JVM_RECORD!>open<!> class A6(val x: String)
@JvmRecord
abstract class A7(val x: String)
<!NON_FINAL_JVM_RECORD!>abstract<!> class A7(val x: String)
@JvmRecord
sealed class A8(val x: String)
<!NON_FINAL_JVM_RECORD!>sealed<!> class A8(val x: String)
@JvmRecord
enum class A9(val x: String) {