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

Iterators are presenting themselves as Ruby type names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.4.0
    • Fix Version/s: PUP 4.4.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Language 2016-02-24
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support