Page MenuHomePhabricator

Throw on accessing an undeclared property
ClosedPublic

Authored by joshuaspence on Jun 30 2015, 10:01 PM.
Tags
None
Referenced Files
F14577686: D13493.diff
Wed, Jan 8, 3:05 AM
Unknown Object (File)
Sun, Dec 29, 7:08 PM
Unknown Object (File)
Fri, Dec 27, 6:47 PM
Unknown Object (File)
Wed, Dec 25, 8:30 PM
Unknown Object (File)
Tue, Dec 10, 7:37 PM
Unknown Object (File)
Dec 7 2024, 8:48 AM
Unknown Object (File)
Nov 30 2024, 11:49 AM
Unknown Object (File)
Nov 20 2024, 7:58 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
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.