Emit error if undefined variables are substituted #211
Labels
difficulty/easy
This is a simple or small issue
enhancement
New feature or request
good first issue
Good for newcomers
If a pattern variable is never defined in a capture, it should be removed altogether, since any substitution will be replaced by the empty string. Emitting a pattern generation error in this case will help eliminate errors caused by misspelled variable names in specifications.
The text was updated successfully, but these errors were encountered: