Skip to content

Allow method invocations on any expression #68

@atjn

Description

@atjn

We currently only allow method expressions on ID's or string literals. This is an unnecessary limitation, but one we made to speed up our initial development of the feature.

We should remove this limitation, but be aware it could amount to significant work especially in the type checker. The related CFG rule is here:

| id DOT ID LPAR (actualParameters)? RPAR #varMethodInvoke

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