groovy

allow throws clause for methodsin interfaces without semicolon

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-JSR-5
  • Fix Version/s: 1.0-JSR-6
  • Component/s: parser-antlr, syntax
  • Labels:
    None
  • Number of attachments :
    0

Description

interface Foo {
void bar1() throws Exception
void bar2() thorws Exception
}

this fails since groovy expects a ";" the the end of the first method declaration. But this should be optional

Activity

Hide
blackdrag blackdrag added a comment -

there was one additional NLS in the grammar that resulted in a incorrect recognition. Fixed now

Show
blackdrag blackdrag added a comment - there was one additional NLS in the grammar that resulted in a incorrect recognition. Fixed now

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: