Decodable icon indicating copy to clipboard operation
Decodable copied to clipboard

Problems with complex expressions in initializers

Open Anviking opened this issue 9 years ago • 0 comments

func init(json: Any) throws {
    // Chooses Any-overload instead of generic overload => error
    try id = json => "object" => "id" 
}

Filed SR-3148.

Anviking avatar Nov 11 '16 23:11 Anviking