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

Call statically typed method first before anything else

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-8
    • 1.0-beta-8
    • None
    • None

    Description

      The invokation mechanism in Groovy calls invokeMethod() first if a class was created in Groovy, or if this class implements GroovyObject.
      But calls to statically typed methods gets trapped by invokeMethod().
      As per what was discussed at the JSR meeting in London, statically typed methods should be called first, before any other invokeMethod() trick.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: