Home GnuPG

Throw on accessing an undeclared property
fffe7e4ef4c8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Throw on accessing an undeclared property

Summary: Currently, Phobject throws when trying to set an undeclared property but not when trying to get an undeclared property. It seems reasonable to add this functionality.

Test Plan: Added unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13493

Details

Provenance
Joshua Spence <josh@joshuaspence.com>Authored on Jul 6 2015, 3:10 PM
Parents
rPHUTIL112843f63e35: Initialize a class property
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHUTILfffe7e4ef4c8: Throw on accessing an undeclared property (authored by Joshua Spence <josh@joshuaspence.com>).Jul 6 2015, 3:10 PM