We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 015547c commit bcf82daCopy full SHA for bcf82da
cli/generate/src/node_types.rs
@@ -499,10 +499,7 @@ pub fn generate_node_types_json(
499
} else if !syntax_grammar.variables_to_inline.contains(&symbol) {
500
// If a rule is aliased under multiple names, then its information
501
// contributes to multiple entries in the final JSON.
502
- for alias in aliases_by_symbol
503
- .get(&Symbol::non_terminal(i))
504
- .unwrap_or(&HashSet::new())
505
- {
+ for alias in aliases_by_symbol.get(&symbol).unwrap_or(&HashSet::new()) {
506
let kind;
507
let is_named;
508
if let Some(alias) = alias {
0 commit comments