Skip to content
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

Make getIcePropertiesXxx no throw in Swift #2949

Merged
merged 5 commits into from
Oct 22, 2024

Conversation

bernardnormier
Copy link
Member

Fixes #2946.

- (nonnull NSString*)getProperty:(NSString*)key;
- (nullable NSString*)getIceProperty:(NSString*)key error:(NSError**)error NS_SWIFT_NAME(getIceProperty(_:));
- (nonnull NSString*)getPropertyWithDefault:(NSString*)key value:(NSString*)value;
- (NSString*)getProperty:(NSString*)key;
Copy link
Member

Choose a reason for hiding this comment

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

is this change because we have NS_ASSUME_NONNULL_BEGIN, and all the operations return nonnull results?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes

@bernardnormier bernardnormier merged commit 99080a8 into zeroc-ice:main Oct 22, 2024
17 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
@bernardnormier bernardnormier deleted the get-ice-prop branch January 21, 2025 19:02
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.

Replace getIceProperty exception by fatal error in Swift
3 participants