Skip to content

fix: prevent YARD failures on enum keywords#1287

Open
aandreassa wants to merge 1 commit into
mainfrom
fix-keywordcollision-const
Open

fix: prevent YARD failures on enum keywords#1287
aandreassa wants to merge 1 commit into
mainfrom
fix-keywordcollision-const

Conversation

@aandreassa
Copy link
Copy Markdown
Contributor

I previously addressed these keyword collisions in PR #1061 and #1072.

However, the syntax still generates YARD proxy warnings that cause strict builds to fail (i.e. fail-on-warning), an issue observed during CI for google-apps-card-v1.

This update utilizes const_set to successfully bypass the warnings.

I verified directly on the gem via manual edits and running toys yard.

I previously addressed these keyword collisions in PR #1061 and #1072.

However, the previous  syntax still generates YARD proxy warnings that cause strict builds to fail (i.e. `fail-on-warning`), an issue observed during CI for `google-apps-card-v1`.

This update utilizes `const_set` to successfully bypass the warnings.

I verified directly on the gem via manual edits and running `toys yard`.
@aandreassa aandreassa force-pushed the fix-keywordcollision-const branch from 24ef1de to 524d581 Compare May 27, 2026 21:58
@aandreassa aandreassa marked this pull request as ready for review May 28, 2026 18:01
@aandreassa aandreassa requested a review from a team as a code owner May 28, 2026 18:01
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