HomePhorge

(PUP-4008) Consider empty hash assignable to any Hash with size 0
51c600784de0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4008) Consider empty hash assignable to any Hash with size 0

This commit adds the method 'is_the_empty_hash?' to the PHashType.
It responds true when both the key and value types are PNilType and
the size_type is 0,0. This method is then called by the
TypeCalculator.assignable_PHashType when the first parameter accepts
a hash type of size zero.

Details

Provenance
Thomas Hallgren <thomas@tada.se>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb0cdfadeb8b7: Merge pull request #3606 from ScottGarman/systemd-spec-fix
Branches
Unknown
Tags
Unknown

Event Timeline

Thomas Hallgren <thomas@tada.se> committed rPU51c600784de0: (PUP-4008) Consider empty hash assignable to any Hash with size 0 (authored by Thomas Hallgren <thomas@tada.se>).Feb 14 2015, 2:32 PM