When a rule is simply equal to another rule, the generated rule returns itself instead of the other rule. ``` rule-a = ALPHA / DIGIT rule-b = rule-a ``` ``` // rule-a = ALPHA / DIGIT func RuleA() operators.Operator { return operators.Alts( "rule-a", core.ALPHA(), core.DIGIT(), ) } // rule-b = rule-a func RuleB() operators.Operator { return RuleB() // NOTE - ERROR HERE - should be RuleA } ```
When a rule is simply equal to another rule, the generated rule returns itself instead of the other rule.