-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disfavor shared optional dynamic member lookup (#3170)
* Disfavor shared optional dynamic member lookup This makes the default work as expected, avoiding the issue brought up in #3169. Technically this breaks the following invocation: ```swift if let wrapped = $shared.optional { /* ... */ } ``` And limits the warning to: ```swift func share<T>(_: Shared<T>?) {} share($shared.optional) ``` We consider this lookup to be a bug, though, which is already deprecated in 1.11.0. Since we encourage folks to migrate by one minor version at a time, we should only merge this when we plan on releasing 1.12.0. * wip
- Loading branch information
1 parent
9958881
commit 31a7045
Showing
4 changed files
with
59 additions
and
30 deletions.
There are no files selected for viewing
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
30 changes: 0 additions & 30 deletions
30
...ableArchitecture/Documentation.docc/Articles/MigrationGuides/MigratingTo1.12.md
This file was deleted.
Oops, something went wrong.
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
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