Skip to content

cleanup(swift): Fix some formatting issues - #2302

Open
pinieb wants to merge 3 commits into
a2ui-project:mainfrom
pinieb:swift-formatting
Open

cleanup(swift): Fix some formatting issues#2302
pinieb wants to merge 3 commits into
a2ui-project:mainfrom
pinieb:swift-formatting

Conversation

@pinieb

@pinieb pinieb commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

I forgot to push these changes with my last PR, but they also should have been caught by fix_format.sh in presubmit. This change also ensures that Swift is installed on the action runner so that Swift formatting issues can be caught in the format-check presubmit.

I forgot to push these changes with my last PR, but they also should have been caught by `fix_format.sh` in presubmit. This change also ensures that Swift is installed on the action runner so that Swift formatting issues can be caught in the `format-check` presubmit.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request primarily applies formatting and style updates across several Swift files, including renaming OpenUrlFunction to OpenURLFunction and updating its corresponding tests. The reviewer feedback suggests changing OpenURLFunction from a struct to a final class to safely handle class-bound handler references, and adding non-negativity checks for the decimals parameter in both FormatCurrencyFunction and FormatNumberFunction before configuring the number formatters.

Comment thread swift/core/Sources/BasicCatalog/Functions/OpenUrlFunction.swift Outdated
@pinieb
pinieb marked this pull request as ready for review August 17, 2026 18:13
@pinieb
pinieb enabled auto-merge (squash) August 17, 2026 18:13
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