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

missing coercion for array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-beta-3
    • 1.1-rc-1
    • None
    • None

    Description

      the following script fails:

      def m(Object[] o)

      {o.length}

      assert m([1,2,3] as int []) == 3

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: