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

propertyMissing of category does not work when indy enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.6
    • None
    • None

    Description

                  class X{ def bar(){1}}
                  class XCat4{ static propertyMissing(X x, String name) {"works"}}
      
                  def x = new X()
      
                  use(XCat4) {
                      assert x.baz == "works"
                  }
      

      The above code will blame baz property not found when indy is enabled

      Attachments

        Issue Links

          Activity

            People

              daniel_sun Daniel Sun
              daniel_sun Daniel Sun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: