github / semantic

Parsing, analyzing, and comparing source code across many languages
8.98k stars 452 forks source link

Support `record` in Java? #692

Open ice1000 opened 2 years ago

ice1000 commented 2 years 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 2 years ago

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