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

Named parameters documentation missing explanation for mixing multiple parameters use case

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-3, 2.5.3
    • 3.0.0-alpha-4, 2.5.4
    • Documentation
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: