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

Named parameters documentation missing explanation for mixing multiple parameters use case

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-3, 2.5.3
    • Fix Version/s: 3.0.0-alpha-4, 2.5.4
    • Component/s: Documentation
    • Labels:
      None

      Description

      It looks like current documentation page that explains named parameters is missing information about what happens when we start mixing named parameters with additional parameters.

      Current documentation - http://docs.groovy-lang.org/latest/html/documentation/#_named_arguments

      This problem was reported on Stack Overflow - https://stackoverflow.com/questions/52832382/omiting-brackets-for-named-arguments-inverts-order/52834346#52834346

      Please assign this task to me - I will prepare a pull request with documentation update in a few hours.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                wololock Szymon Stępniak
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: