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 @apply of user utilities when negative and non-negative versions both exist #9027

Merged
merged 2 commits into from
Aug 4, 2022

Conversation

thecrypticace
Copy link
Contributor

-foo-1 and foo-1 are both matches for the class -foo-1 but @apply only wants the first one. It would remove the second one and cause an error because it’s an entirely separate match that had its only rule removed 😱

Fixes #9023

`-foo-1` and `foo-1` are both matches for the class `-foo-1` but `@apply` only wants the first one. It would remove the second one and cause an error because it’s an entirely separate match that had it’s only rule removed.
@thecrypticace thecrypticace merged commit 20456ef into master Aug 4, 2022
@thecrypticace thecrypticace deleted the fix/apply-multiple-matches branch August 4, 2022 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant