Skip to content

[ts] Handle field ref that refer to the method #298

Open
@Lipen

Description

@Lipen

We need to handle InstanceFieldRef when "field" is actually a method. For example, obj.callback = this.doAction. Currently, the field resolution fails due to the absence of doAction field among EtsClass::fields, since it is in EtsClass::methods.

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