This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Before HHVM 4.99 (this week's release), we get a Hack error: ``` Typing[4341] The method getCode is not compatible with the overridden method [1] -> This function is pure. [2] -> This function is normal. [1] vendor/hhvm/hsl-experimental/src/os/ErrnoException.php:73:25 71 | */ 72 | <<__Deprecated("Use `getErrno()` instead", 0)>> [1] 73 | final public function getCode()[]: Errno { 74 | return $this->errno; 75 | } /tmp/hh_server/hhi_3a3192f8/exceptions.hhi:103:19 101 | public final function setPrevious(Exception $previous)[]: void; 102 | <<__Pure, __MaybeMutable>> [2] 103 | public function getCode()[]: int; 104 | <<__Pure, __MaybeMutable>> 105 | final public function getFile()[]: string; ``` Reviewed By: DavidSnider Differential Revision: D26853716 fbshipit-source-id: 09a53c62c9fb1a7132e2f18ad15b9782417ac9b6
- Loading branch information