Skip to content

Elaborate on relative precedence between method calls and field accesses #2078

@Rua

Description

@Rua

Currently, the precedence table lists method calls higher than field accesses. Which gives the impression that for example a.b.c() is parsed as a.(b.c()) rather than the correct (a.b).c(). I don't know if that's an actual error in the table (seems unlikely?) or that the writers had a different interpretation in mind than I do. Either way, it would be useful to clarify how this is actually intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions