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

Puppet Array & Hash types should present themselves as just Array/Hash when they are default

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.4.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Language 2016-02-24
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      A Hash without type parameters presented itself in expanded form with details about the default values for key/value types and size. Now it does not.

      Description

      Both Array and Hash presents themselves in string with the default type parameters expanded e.g. Hash[Scalar, Data, 0] when turned into a string. This is surprising and confusing for users.

      The string operation should check if the type parameters are the default parameters and then suppress the type parameters and present itself as just Array or Hash.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              henrik.lindberg Henrik Lindberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support