mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-22 12:41:18 +01:00
f00d4219dd
Summary: The following code is invalid: ``` final class MyClass { public function __construct() { parent::__construct(null); } } $x = new MyClass(); ``` Running the above code will produce a fatal error: ``` PHP Fatal error: Cannot access parent:: when current class scope has no parent ``` Test Plan: Added unit tests. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12420 |
||
---|---|---|
.. | ||
__tests__ | ||
configuration | ||
difference | ||
differential | ||
docs/book | ||
events/constant | ||
exception | ||
extensions | ||
hgdaemon | ||
infrastructure/testing | ||
internationalization | ||
lint | ||
parser | ||
repository | ||
unit | ||
workflow | ||
workingcopyidentity | ||
__phutil_library_init__.php | ||
__phutil_library_map__.php |