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

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.4.0
    • None
    • None
    • Bug Fix
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support