mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Infer result type of a subscript with Array or Dictionary base type if argument type matches the key type exactly or it's a supported literal type. This helps to maintain the existing behavior without having to resort to "favored type" computation.