On Xcode 11 I had code in tests that looks like:
internal func fixtureWithName(_ name: String, ofType: String) throws -> Data
internal func fixtureWithName(_ name: String, ofType type: String) throws -> String
internal func fixtureWithName(_ name: String) throws -> AnyObject
and used like
let JSON = try? fixtureWithName("...")["body"]
Now in Xcode 12 I get an error in the usage line:
Ambiguous use of 'subscript(_:)'
I can change the code to workaround that but I wonder what has change between versions. Could somebody point me to a proposal that changed this behaviour? Cheers.