Commit Graph

4 Commits

Author SHA1 Message Date
Anthony Latsis
6612c9cf89 Sema: Subscript called with opened existential cannot produce lvalue if result is type-erased 2024-12-17 23:03:38 +00:00
Anthony Latsis
73cabe303b Sema: Account for existential member access limitations in doesStorageProduceLValue 2024-12-04 15:03:39 +00:00
Pavel Yaskevich
3d74a397df [Sema] Temporary disable l-value stripping while erasing opened existentials
Reverts part of https://github.com/apple/swift/pull/69950 because
it causes failure in existing code.
2024-01-23 19:34:54 -08:00
Slava Pestov
ef6630f0ac Sema: Strip off LValueType from opened existential accesses with an erased result type
- Fixes https://github.com/apple/swift/issues/62219
- Fixes https://github.com/apple/swift/issues/60619,
- Fixes rdar://104230391
- Fixes rdar://118247162.
2023-11-27 14:05:36 -05:00