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

Missing line/col information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.0-JSR-4
    • None
    • None

    Description

      Create a class Foo like so:

      class Foo {
      @Property MetaClass metaClass
      }

      It barfs because you can't create a metaClass property, since there's already an existing one per defaut, but the message misses usuful line information:

      Foo.groovy: -1: The current class does already contain a field of the name metaClass
      @ line -1, column -1.Foo.groovy: -1: The current class does already contain a property of the name metaClass
      @ line -1, column -1.
      2 Errors

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            guillaume Guillaume Sauthier
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: