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 #macro? for numblock nodes #237

Merged
merged 1 commit into from
Aug 7, 2022

Conversation

gsamokovarov
Copy link
Contributor

@gsamokovarov gsamokovarov commented Aug 5, 2022

We can have macros in numblocks. I found this issue while working on broader numblock nodes support for cops in rubocop and found out that the#bare_access_modifier? method was not giving proper results for modifiers in numblocks. This applies to other methods that depend on the #macro? method.

@gsamokovarov gsamokovarov force-pushed the macro-in-numblock branch 3 times, most recently from 3ba094c to 8c309cc Compare August 5, 2022 10:48
CHANGELOG.md Outdated Show resolved Hide resolved
We can have macros in numblocks. I found this issue while working on
broader `numblock` nodes support for cops in rubocop and found out that
the`#bare_access_modifier?` method was not giving proper results for
modifiers in numblocks. This applies to other methods that depend on the
`#macro?` methods.
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.

3 participants