Skip to content

Update our copy of the released Homebrew formula #2

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

Homebrew released formula file hash is d5c90c111a8cc7cbd55ecb669565a88ce64faa608e01688ee549addf9d09732d. Created by Github action

DanilaFe pushed a commit that referenced this pull request Mar 31, 2025
Unfortunately, my previous attempt to modify get_string() failed to
realize how broadly it's used, and as a result, it broke a few other
tests ('extern/bradc/require/requireNonString.chpl' and
'library/packages/UnitTest/PrimitivesError/GetByName_WrongArgs.chpl').
Here, I've reverted that change and specialzed the logic that converts
arg #2 in a PRIM_GET_MEMBER[_VALUE] call to handle both string
literals and literal VarSymbol*'s that refer directly to fields.

Is this too specialized / distinct from this PR?  Should I just give
up and use a C string literal instead?  Perhaps, but it feels really
regrettable to me that we're still relying on that pattern in the IR,
so this is my baby step to try and not contribute to continuing that
practice.  With more effort, we could probably/possibly convert more
creations of these expressions to use the field directly, but that
would definitely feel like a step too far for this PR.

---
Signed-off-by: Brad Chamberlain <[email protected]>
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.

0 participants