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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: PUP 3.8.1, PUP 4.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      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

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  thomas.hallgren Thomas Hallgren
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: