Add @JvmRecord annotation and relevant diagnostics
^KT-43677 In Progress
This commit is contained in:
@@ -144,4 +144,12 @@ public actual annotation class JvmWildcard
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
@MustBeDocumented
|
||||
@SinceKotlin("1.5")
|
||||
public actual annotation class JvmInline
|
||||
public actual annotation class JvmInline
|
||||
|
||||
/**
|
||||
* Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods
|
||||
*/
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@MustBeDocumented
|
||||
public actual annotation class JvmRecord
|
||||
|
||||
Reference in New Issue
Block a user