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

Cannot call closure like a method in type checked mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0-beta-1, 2.3.0, 2.4.0-rc-1
    • None
    • Static Type Checker
    • None

    Description

      Closure closure = ...; closure() doesn't work in type-checked mode. Instead, one has to use closure.call().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pniederw Peter Niederwieser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: