-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add Concurrency #17
Merged
roddymunro
merged 6 commits into
appdecostudio:v1
from
pereBohigas:feature/add_concurrency
May 13, 2024
Merged
Add Concurrency #17
roddymunro
merged 6 commits into
appdecostudio:v1
from
pereBohigas:feature/add_concurrency
May 13, 2024
Conversation
This file contains 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
pereBohigas
force-pushed
the
feature/add_concurrency
branch
from
April 23, 2024 21:48
f416d88
to
ea0c4dd
Compare
Merged
pereBohigas
force-pushed
the
feature/add_concurrency
branch
from
May 12, 2024 21:55
ea0c4dd
to
4696bb2
Compare
roddymunro
reviewed
May 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just one question!
pereBohigas
force-pushed
the
feature/add_concurrency
branch
from
May 13, 2024 19:28
4696bb2
to
d6edcdc
Compare
Nice catch!! Fixed!! |
pereBohigas
force-pushed
the
feature/add_concurrency
branch
from
May 13, 2024 19:53
d6edcdc
to
463e5ae
Compare
I also fixed the message shown with every missing translation (aka |
roddymunro
approved these changes
May 13, 2024
roddymunro
added a commit
that referenced
this pull request
Jun 12, 2024
* Add ArgumentParser (#16) * Add ArgumentParser dependency * Rename SwiftPolyglotCore struct * Add RuntimeError * Rename SwiftPolyglot struct, add ParsableCommand adoption and add RuntimeError usage * Parse arguments and flag using ArgumentParser and adjust SwiftPolyglotCore initializer's parameters * Update README * Rename property * Format * Fix command name in help's message * Add Concurrency (#17) * Set minimum macOS version to version 10.15 (Catalina) * Add MissingTranslation struct * Add concurrency to core functionality * Adopt AsyncParsableCommand protocol to provide an asynchronous entry point * Add XCTest extension for testing async throwing expressions * Add concurrency to tests * Fix SwiftFormat issues (#19) * Remove trailing commas * Fix indentation * Move inline try to start of expression * Remove trailing white spaces * Use opaque generic parameters instead of generic parameters with constraints * Replace consecutive blank lines with a single blank line * Disable hoistAwait (#20) * Fix swiftformat (#21) * Improve assertions on async throwing expressions (#22) * Add Equatable adoption for custom error * Improve custom method for asserting on asynchronous expressions which should run successfully without throwing an error * Improve custom method for asserting on asynchronous expressions which should throw an error * Reenable hoistAwait SwiftFormat rule --------- Co-authored-by: Pere Bohigas <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
Here the Concurrency framework is being added to the project. Now, in case of having multiple string catalogs, they will be checked in parallel.
The changes have been tested using the compete concurrency check provided with the Swift Tools version 5.10 (
.enableExperimentalFeature("StrictConcurrency")
), to avoid including data-race safety issues and to assure the code is Swift 6 compatible.Cheers!!