Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6151

Output of iterator type emits 'value' text after type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 4.4.2
    • PUP 4.5.0
    • None
    • None
    • Hide

      That:

      notice([1,2,3].reverse_each)
      

      outputs

      Iterator[Variant[Integer]]-Value
      

      Show
      That: notice([1,2,3].reverse_each) outputs Iterator[Variant[Integer]]-Value
    • 1
    • Language 2016-05-04, Language 2016-05-18
    • Not Needed

    Description

      UPDATED


      With the resolution of PUP-6090, output of an iterator type no longer results in an error. However, it emits the type of result and the string 'value' and the 'value' part is confusing as an indicator that it is an instance of Iterator that is noticed.

      Given the following manifest

      notice([1,2,3].reverse_each)
      

      The result is:

      Notice: Scope(Class[main]): Iterator[Variant[Integer]] value
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              john.duarte John Duarte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support