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

Confusing error message when using : instead of "extends"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-RC-1
    • 1.6-rc-2
    • parser
    • None

    Description

      In the following class definition:

      class Foo : OutputStream { }

      the parser complains about "class," but the problem is the :, which is C++ syntax; it should be "extends."

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcspanky Martin C. Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: