Skip to content

Is there anyway,we could extend this to accept class level public fields as? #430

Description

@ashishyog

Parser starts giving error "Only methods are allowed in class".

For below example:

class Rectangle {
height;
width;
constructor(height, width) {
this.height = height;
this.width = width;
}
}

any idea how could we support this?

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