Fix AttrSystemInitialValue on overridden properties
commitc891e64b897f3d03d42e19da25708b46ba5b3e2d
authorMark Williams <mwilliams@fb.com>
Fri, 16 Nov 2018 22:31:02 +0000 (16 14:31 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 16 Nov 2018 22:37:13 +0000 (16 14:37 -0800)
treecaa4857db14c265e7340120a50adc27822c4b8be
parent4d57c97f6657ed8e2d1c67040f55e88371bcd0e8
Fix AttrSystemInitialValue on overridden properties

Summary:
If its set on the parent prop, but not on the child, we need to
explicitly clear it on the child's property.

Reviewed By: ricklavoie

Differential Revision: D13084126

fbshipit-source-id: 3de06f6239f770efe60a3da582060c5fbab6d4dc
hphp/runtime/vm/class.cpp
hphp/test/slow/object_property/system_initial_value.php [new file with mode: 0644]
hphp/test/slow/object_property/system_initial_value.php.expect [new file with mode: 0644]