Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1349

allow throws clause for methodsin interfaces without semicolon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-JSR-6
    • parser-antlr2, syntax
    • None

    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

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: