Page MenuHomePhabricator

Throw on accessing an undeclared property
ClosedPublic

Authored by joshuaspence on Jun 30 2015, 10:01 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Aug 18 2024, 3:02 PM
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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7071
Build 7195: [Placeholder Plan] Wait for 30 Seconds
Build 7194: arc lint + arc unit

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.