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

Groovysh: Missing completion for optional_dot ?. and spread-dot *.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0-beta-4
    • Groovysh
    • None

    Description

      Currently no completion is considered for x?.| and x*.|

      I suggest that for x*., completion will assume that the element found by x.find() will represent all elements in the 'collection' type. Alternatives would be to try and complete using the intersection of candidates members within the 'collection', but that may be much more complicated code to be worth the effort, IMO.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tkruse Thibault Kruse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: