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

Adding a setX method via a category doesn't work if the property is set via a Map in the constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-JSR-6
    • groovy-jdk
    • None

    Description

      If I ass a setX method to MyClass via a category and then do:

      new MyClass(x: "value")

      the method is not called.

      Attachments

        Activity

          People

            tug John Wilson
            tug John Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: