Skip to content

infix notation doesn't work for members of a record #2226

@FluxusMagna

Description

@FluxusMagna

While not hugely problematic, I find this somewhat inconsistent:

def test (i:i32) =
    let a = {f=(+)}
    in i `a.f` i

gives the error

Unknown name "a.f"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions