Skip to content

Quick fix for attributes that overlap with other types#90

Merged
elbrujohalcon merged 2 commits intomainfrom
quickfix
Jun 9, 2025
Merged

Quick fix for attributes that overlap with other types#90
elbrujohalcon merged 2 commits intomainfrom
quickfix

Conversation

@elbrujohalcon
Copy link
Copy Markdown
Member

Regular if and else (part of maybe) expressions already used those types.

Note

Devs may still generate trouble in Elvis if they do stuff like…

-'maybe'(something). %% or...
-'catch'(stuff).

But…

  1. The parsing of those attributes is not affected by this code (i.e., they don't go through revert/2); therefore…
  2. It was already possible to mess with Elvis before [Fix #87] Fix parse-reverting of -define attributes #88.

@elbrujohalcon elbrujohalcon merged commit cd4287f into main Jun 9, 2025
6 checks passed
@elbrujohalcon elbrujohalcon deleted the quickfix branch June 9, 2025 11:06
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.

1 participant