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

Function names are not properly resoved in Scripts when trying to create a function pointer

    XMLWordPrintableJSON

Details

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

    Description

      def f()

      {1}

      x = f

      Throws

      Caught: groovy.lang.MissingPropertyException: No such property: f for class: test
      groovy.lang.MissingPropertyException: No such property: f for class: test

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: