cf41a82f42
A prior diff added property error-reporting code that was looking up the property in the PreClass. However, a PreClass doesn't contain the inherited properties, so HHVM was crashing when trying to raise an accessibility error on an inherited property. This diff changes the code to lookup the property in the actual Class instead.
2 linhas
109 B
Plaintext
2 linhas
109 B
Plaintext
HipHop Fatal error: Cannot access protected property C::$p in hphp/test/vm/prop-access-error1.php on line 11
|