FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

yeast: Get rid of shorthand form for rules by tausbn · Pull Request #22626 · github/codeql · GitHub

/ codeql Public

yeast: Get rid of shorthand form for rules - #22626

Merged
tausbn merged 1 commit into
mainfrom
tausbn/yeast-remove-rule-shorthand
Sep 18, 2026
Merged

tausbn merged 1 commit into
mainfrom
tausbn/yeast-remove-rule-shorthand

Conversation

tausbn commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Removes the

(foo bar: @baz) => quux

shorthand. This would previously expand into

(foo bar: @baz) => (quux baz: {baz})

In practice we were only using this in the tests, since most rules end up doing more complicated things than straight translations anyway.

In practice we were only using this in the tests, since most rules end
up doing more complicated things than straight translations anyway.
tausbn added the no-change-note-required This PR does not need a change note label Sep 18, 2026
tausbn requested a balanced review from Copilot September 18, 2026 11:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copilot review overview

🟢 Approval recommended

The implementation, tests, and documentation consistently remove the shorthand form.

Review effort: Balanced
Findings: None

What changed in this PR

Removes the unused shorthand rule transform syntax from Yeast.

Changes:

  • Removes shorthand parsing and related tests.
  • Converts remaining tests to explicit templates.
  • Updates macro documentation.
File Description
shared/​yeast/​tests/​test.rs Removes shorthand tests and uses explicit templates.
shared/​yeast/​doc/​yeast.md Documents only the two supported transform forms.
shared/​yeast-macros/​src/​parse.rs Removes shorthand parsing and code generation.
shared/​yeast-macros/​src/​lib.rs Removes shorthand API documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

tausbn marked this pull request as ready for review September 18, 2026 12:03
tausbn requested a review from a team as a code owner September 18, 2026 12:03
tausbn merged commit 39547c7 into main Sep 18, 2026
85 of 87 checks passed
tausbn deleted the tausbn/yeast-remove-rule-shorthand branch September 18, 2026 12:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL