semantic
semantic copied to clipboard
Precise AST datatypes’ fields are generated in arbitrary order
Ported from https://github.com/tree-sitter/haskell-tree-sitter/issues/97.
They don’t reflect either the node-types.json file’s declared order or order within the grammar. This is due to aeson using HashMaps to represent objects during JSON parsing, which means that we get keys back in hash order.