-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Milestone
Description
Per discussion at #8023 (comment) and #8023 (comment). While a superficial implementation of Java 14 records will close Issue #8023, we need to make an issue for full records support, extending our support of records to build the full AST under the RECORD_DEF token.
Topics of discussion:
- Which checks should be extended to support records
- How to handle constructors. While a new compact constructor for records must be defined, records must also support canonical constructors with some restrictions (see JLS). Should this compact constructor be added to
fieldgrammar? - New tokens to introduce. Per Allow unsupported syntax, like record classes #8023 (comment) we will be introducing
RECORD_COMPONENT_DEFandRECORD_CTOR_DEF, is this all? - ...
http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jls.html#jls-8.10.5
Group Chats:
messages1.pdf
messages2.pdf