github / semantic

Parsing, analyzing, and comparing source code across many languages
8.94k stars 454 forks source link

Reserved haskell keywords as field names #621

Closed 314eter closed 4 years ago

314eter commented 4 years ago

Some of the field names in the node-types.json of tree-sitter-ocaml are reserved haskell keywords (class and default). This is a problem for AST generation. What is the best way to solve this? Should I rename the keywords, or is there a way to solve this in semantic?

314eter commented 4 years ago

I opened a PR at tree-sitter/haskell-tree-sitter#290, so I'm closing this here.