Homec4science

Throw on accessing an undeclared property

Authored by Joshua Spence <josh@joshuaspence.com> on Jul 6 2015, 15:10.

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

Committed
Joshua Spence <josh@joshuaspence.com>Jul 6 2015, 15:10
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU112843f63e35: Initialize a class property
Branches
Unknown
Tags
Unknown

Event Timeline

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