HomePhorge

(PUP-1619) Accept missing struct keys if type for key is optional
e372a344ecdfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1619) Accept missing struct keys if type for key is optional

A hash with key bound to nil/undef or missing key and the
struct type accepts nil/undef should be treated as matching.

Without this fix, the hash must has nil/undef bound to keys witout
value.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb9840e5095fe: (PUP-1619) Add support for a Struct Type
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUe372a344ecdf: (PUP-1619) Accept missing struct keys if type for key is optional (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Feb 11 2014, 1:40 AM