From 1d7db8c4dfa2f7a26d9816398947f6e76e506093 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Fri, 22 Oct 2021 10:15:29 +0200 Subject: [fixes #2995] Skip records for field defaults via config --- .../resource/after-ecj/FieldDefaultsViaConfigOnRecord.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java (limited to 'test/transform/resource/after-ecj') diff --git a/test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java b/test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java new file mode 100644 index 00000000..44ef0d4c --- /dev/null +++ b/test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java @@ -0,0 +1,10 @@ +// version 14: +public record FieldDefaultsViaConfigOnRecord(String a, String b) { +/* Implicit */ private final String a; +/* Implicit */ private final String b; + public FieldDefaultsViaConfigOnRecord(String a, String b) { + super(); + .a = a; + .b = b; + } +} \ No newline at end of file -- cgit