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

Iterators are presenting themselves as Ruby type names

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 4.4.0
    • PUP 4.4.0
    • None
    • None
    • 1
    • Language 2016-02-24
    • Not Needed
    • Bug fixed before feature is released.

    Description

      This code:

      notice [].reverse_each
      

      Outputs:

      Notice: Scope(Class[main]): #<Puppet::Pops::Types::Iterator:0x007f93ec28f938>
      

      I'd expect either a Runtime['ruby', 'iterator'] or something like Iterator[<type of thing being iterated>].

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              peter.huene Peter Huene
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support