[FIR] Properly support @JvmRecord

^KT-53867 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-09-19 14:52:39 +03:00
parent c0ad67c4f9
commit 6623456d2a
23 changed files with 490 additions and 29 deletions
+3 -1
View File
@@ -2,9 +2,11 @@
// API_VERSION: 1.5
// JVM_TARGET: 17
// COMPILER_ARGUMENTS: -XXLanguage:+JvmRecordSupport -Xjvm-enable-preview
// IGNORE_FIR
// reason: test framework does not support using JDK 17 as dependency
package pkg
@JvmRecord
data class MyRec(val name: String)
// JDK 15 should be used to compile this file
// COMPILATION_ERRORS
// COMPILATION_ERRORS