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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-beta-4
    • Component/s: Groovysh
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: