Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 2, 2025

This PR was automatically opened by a GitHub action. Review the changes included in this PR and determine if they should be included in the release branch. If yes, merge the PR. Otherwise revert changes that should not be included on this branch.

parkera and others added 6 commits May 28, 2025 09:11
…esults in an unreasonable locale. (#1102)

* Initiating a Locale/Language with empty language code/script/region results in an unreasonable locale.

Here are some examples:

```swift
print(Locale(languageCode: "", script: "", languageRegion: "").identifier) // "-_"

let languageComponents = Locale.Language.Components(language: .init(identifier:""))
print(Locale(languageComponents: languageComponents).identifier) // "-Latn"
```

Fix this by handling empty identifiers passed in at initialization time correctly.

resolves 132353443

* Use `isEmpty` check for empty strings
#1310)

* Skip CI run for any change that only contains changes in markdown file

* Only exclude markdown on the top level and everything inside 'Proposals/' path
…inter equal (#1322)

* Add a fast-path for equality checking when the backing is empty or pointer-equal

* Address review feedback
@jmschonfeld
Copy link
Contributor

@swift-ci please test

@jmschonfeld jmschonfeld marked this pull request as ready for review June 2, 2025 18:00
@jmschonfeld jmschonfeld requested review from itingliu and parkera June 2, 2025 18:00
@parkera parkera merged commit 62da7d5 into release/6.2 Jun 2, 2025
4 checks passed
@parkera parkera deleted the automerge/merge-main-2025-06-02_09-00 branch June 2, 2025 18:46
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.

3 participants