[FIR] Add DELEGATION_BY_IN_JVM_RECORD diagnostic

This commit is contained in:
Andrey Zinovyev
2021-08-19 15:40:38 +03:00
committed by Space
parent 3314c8faac
commit 8c2d37917f
7 changed files with 23 additions and 1 deletions
@@ -9,7 +9,7 @@ interface I
val i: I = object : I {}
@JvmRecord
data class MyRec1(val name: String) : I by i
data class MyRec1(val name: String) : I by <!DELEGATION_BY_IN_JVM_RECORD!>i<!>
@JvmRecord
data class MyRec2(val name: String) {