Avatar
@swift-5.2.5 struct Foo { subscript(i: Int) throws -> String { "XYZ" } } (edited)