Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

object method call simplification #311

Closed
@bobzhang

Description

@bobzhang

Thanks to the recent clean up, there is no need to apply a ppx for method call.

obj["say"] was currently compiled into obj##say, and transformed again in the compiler into Pexp_send with some wrappers.

This is not needed any more, it can be translated into obj#say without any post-processing.

To finish this, we should also implement the printer logic for Pexp_send

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