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

rcurry for overloaded MethodClosure throws an exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-rc-3, 1.8.7
    • None
    • None

    Description

      def a(b,c){}
      def a(b,c,d){}
      b = (this.&a).rcurry(0)
      b(1,2) // works
      b(1) // throws ArrayIndexOutOfBoundsException

      Attachments

        Activity

          People

            paulk Paul King
            zhaber Vitalii Fedorenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: