hhvm
hhvm copied to clipboard
A virtual machine for executing programs written in Hack.
**Describe the bug** I want to use hfsort for my cpp program,but when I follw the guide in hhvm/hphp/tools/hfsort/README.md , there are some problems with oss-performance , some errors occured...
[ Typechecker built-in lint ] "Loop variable `_` shadows a local variable" (5568) ignores lambda cow
**Describe the bug** `hh_client --lint` believes a variable that is declared outside a lambda can be shadowed inside a lambda. **Standalone code, or other way to reproduce the problem** ```HACK...
**Describe the bug** `hphp` does not compile with `cmake -DCMAKE_BUILD_TYPE=Debug` **Standalone code, or other way to reproduce the problem** Steps to reproduce the behavior: 1. Checkout the codebase 2. `cmake...
**Describe the bug** The `\Spliceable` interface should be a built-in or Hack should allow Spliceable-like interfaces to be declared under other names. The current implementation is likely to cause collisions...
Example bad code: ```hack function foo(): void { $x = 1; $f = function() { return $x; }; } ``` The quickfix should add the `use` (if not already present),...
Example bad code: ```hack class MyParent { public function __construct() {} } class MyChild extends MyParent { public function __construct() { foo(); } } ``` The quickfix should add the...
Sample bad code: ```hack class MyParent { public function foo(): void {} } class MyChild extends MyParent { // autofix: public function protected function foo(): void {} } ``` After...
Example bad code: ```hack function foo(): void { $s = "price in $usd"; } ``` The quickfix should escape the dollar sign. ```hack function foo(): void { $s = "price...
**Describe the bug** **Standalone code, or other way to reproduce the problem** ```HACK // Simplified case final class Wrapper { private function __construct(private T $value) {} // $x is of...