Skip to content

[Bug] private/protected def syntax not parsed #17

@yhk1038

Description

@yhk1038

private def or protected def style method definitions are not parsed.

private def len(input: String): Integer
  input.length
end

In the above code, the type annotation is not recognized.

Method definitions with visibility modifiers should be parsed correctly:

  • private def foo(x: String): Integer
  • protected def bar(y: Integer): String
  • public def baz(z: Boolean): Void

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions