github / semantic

Parsing, analyzing, and comparing source code across many languages
8.93k stars 453 forks source link

Support `record` in Java? #692

Open ice1000 opened 1 year ago

ice1000 commented 1 year ago

They are similar to the records in Haskell. Doc: https://docs.oracle.com/en/java/javase/14/language/records.html

Currently, GitHub does not understand Java records: image

It does not seem to parse these methods successfully.

ice1000 commented 1 year ago

Seems related: https://github.com/tree-sitter/tree-sitter-java/issues/123