Check JvmRecordSupport language feature before generating synthetic properties

This commit is contained in:
Denis.Zharkov
2020-12-02 13:29:42 +03:00
parent a4bf36aee7
commit 695d0dbfbb
7 changed files with 37 additions and 11 deletions
@@ -1,3 +1,4 @@
// !LANGUAGE: +JvmRecordSupport
// JVM_TARGET: 15_PREVIEW
// FILE: MyRec.java
public record MyRec(String name) {}