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

Common type of two strings where only one has values is too restricted

    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.common_type(t1,t2) method, when given two Strings where only one of the Strings has values will yield a common String type that is restricted to those values. This is wrong. If one of the types is unrestricted, then the common type must also be unrestricted.

      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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support