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

Types Array[?], Hash[?,?], and Optional[?] are not assignable to themselves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • PUP 3.8.1, PUP 4.1.0
    • None
    • None
    • 1
    • Language 2015-05-13

    Description

      The TypeCalculator.assignable? method does not consider the types Array[?], Hash[?,?], and Optional[?] to be assignable to themselves.

      This is an internal fix. The problem can not be reproduced from Puppet. The only way to reproduce the problem is to use internal Ruby methods.

      QA


      risk: low
      probability: low
      severity: low
      test level: unit

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thomas.hallgren Thomas Hallgren
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support