-
Notifications
You must be signed in to change notification settings - Fork 340
Allow normal Swift default property initialization syntax #170
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
Merged
natecook1000
merged 19 commits into
apple:master
from
MPLew-is:default-property-initialization
Jun 23, 2020
Merged
Changes from 8 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f918b83
Allow normal Swift default property initialization syntax
MPLew-is 7517781
Merge branch 'master' into default-property-initialization
MPLew-is caa77a5
Add simple tests for default property initialization
MPLew-is 07fd64f
Centralize some constructor logic into a private `init`
MPLew-is 60ed36f
Deprecate previous `Option.init` with `default` parameter
MPLew-is b70dbf1
Document added test cases
MPLew-is 3e32345
Correct punctuation
MPLew-is 79f4fb6
Extend standard default initialization syntax to `Option`s with `tran…
MPLew-is 83cd53f
Actually replace previous `init` with private version
MPLew-is 28d7179
Clean up usage of default parameter values
MPLew-is a8e2a7d
Clean up documentation
MPLew-is 5c7dba0
Extend standard default initialization to `Argument`s
MPLew-is f3a6b00
Extend standard default initialization to `Flag`s
MPLew-is 83a70e4
Default flags with inversions to nil/required
MPLew-is e7397e9
Extend standard default initialization to no-inversion boolean `Flags`
MPLew-is a371be6
Eliminate deprecation spam from default value initialization
MPLew-is d41e4f2
Add source compatibility tests for new default syntax and associated …
MPLew-is e05678f
Update top-level documentation
MPLew-is 8c573a5
Merge branch 'master' into default-property-initialization
MPLew-is File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.