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

Category Properties broken in RC1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0-RC-1
    • 1.0
    • None
    • None

    Description

      It seems that property access via categories is broken in RC1. This
      worked before as the Grails help feature used it, but it no longer
      does. Test case:

      class PropertyCategory {
      static getSomething(Object self)

      { return "hello" }

      }

      use(PropertyCategory) {
      println getSomething() // this works
      }

      use(PropertyCategory) {
      println something // this fails with MPE
      }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: