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

'class' cannot be used as a property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-beta-1
    • parser
    • None

    Description

      I should be able to do things like

      x = new Cheese()

      x.class.name

      or type = x.class

      though due to 'class' being a reserved word the parser won't allow it right now

      Attachments

        Activity

          People

            bob Bob Paulin
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: