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

Empty arrays does not match type of typed arrays

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • PUP 4.3.0
    • None
    • None
    • 1
    • Language 2015-10-14, Language 2015-10-28
    • Bug Fix
    • The type system did not accept an empty array as valid when the array type matched against did not accept Undef entries.

    Description

      Puppet thinks that the type of an empty array doesn't match the type of Array[String]. It thinks that the type is Array[Undef].

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dalen Erik Dalén
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support