Add check that we have JDK 15 in classpath when using @JvmRecord

^KT-43677 In Progress
This commit is contained in:
Denis.Zharkov
2020-11-25 18:36:14 +03:00
parent 85962d8312
commit d4de2c4dce
8 changed files with 42 additions and 0 deletions
@@ -0,0 +1,9 @@
// !LANGUAGE: +JvmRecordSupport
// SKIP_TXT
@JvmRecord
class MyRec(
val x: String,
val y: Int,
vararg val z: Double,
)
@@ -0,0 +1,9 @@
// !LANGUAGE: +JvmRecordSupport
// SKIP_TXT
<!JVM_RECORD_REQUIRES_JDK15!>@JvmRecord<!>
class MyRec(
val x: String,
val y: Int,
vararg val z: Double,
)