HomePhorge

(PUP-4000) Make optional Struct value imply optional key
52db5e25cf60Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4000) Make optional Struct value imply optional key

This commit changes the TypeCalculator so that a Struct with optional
values becomes assignable from a Struct where the keys corresponding
to those values are missing. It also changes the instance_of logic so
that a Hash missing such keys is considered an instance of the struct.

Details

Provenance
Thomas Hallgren <thomas@tada.se>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU147f621a2b93: Merge pull request #3592 from thallgren/issue/pup-3978/puppet-proc
Branches
Unknown
Tags
Unknown

Event Timeline

Thomas Hallgren <thomas@tada.se> committed rPU52db5e25cf60: (PUP-4000) Make optional Struct value imply optional key (authored by Thomas Hallgren <thomas@tada.se>).Feb 12 2015, 2:47 PM