Skip to content

Problems with complex expressions in initializers #129

@Anviking

Description

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

Filed SR-3148.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions