Page MenuHomePhabricator

Throw on accessing an undeclared property
ClosedPublic

Authored by joshuaspence on Jun 30 2015, 10:01 PM.
Tags
None
Referenced Files
F13883032: D13493.diff
Thu, Oct 3, 5:27 AM
Unknown Object (File)
Sat, Sep 21, 11:27 PM
Unknown Object (File)
Sat, Sep 21, 11:26 PM
Unknown Object (File)
Sat, Sep 21, 11:26 PM
Unknown Object (File)
Sat, Sep 21, 11:16 PM
Unknown Object (File)
Sep 1 2024, 3:24 PM
Unknown Object (File)
Aug 30 2024, 12:11 AM
Unknown Object (File)
Aug 29 2024, 5:38 AM
Subscribers

Details

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.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Throw on accessing an undeclared property.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 30 2015, 10:14 PM
This revision was automatically updated to reflect the committed changes.