Files
Stephen Celis 31a7045b49 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
2024-06-18 16:01:46 -07:00
..
2023-11-13 12:57:35 -08:00
2024-06-04 09:13:34 -05:00
2024-05-28 07:47:30 -07:00
2024-03-11 14:03:26 -07:00
2024-05-14 09:37:45 -07:00
2024-06-07 11:35:19 -07:00