Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for invalid name error with scoped named rules #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KevinVdKAverna
Copy link

@KevinVdKAverna KevinVdKAverna commented Jul 28, 2023

The implemented fix passes the name_prefix for the named rule as an argument to _extract_rule. _extract_rule will then prepend the name_prefix after validation of the non-prefixed name.

This fixes #242.

…is validated before the scope prefix is added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Named rules in sub-scoped peru files cause "Invalid name" errors at sync
1 participant