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

implicit invocation not working for member closures when using @CompileStatic annotation

    XMLWordPrintableJSON

    Details

      Description

      Originally discussed here: http://stackoverflow.com/questions/21149013/groovy-implicit-invocation-not-working-for-member-closures-when-using-compilest

      Implicit invocation of member closures throws an exception while explicit closure invocation for member closures works correctly when using compile static.

      Attached is a sample groovy script which demonstrates the issue.

        Attachments

        1. sample.groovy
          1 kB
          Ty Ju

          Activity

            People

            • Assignee:
              melix C├ędric Champeau
              Reporter:
              jckdnk111 Ty Ju
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: