Move ir inlining tests to slow/ir_inlining, add case for bug @mwilliams found
Mark hit a bug that aravind already fixed where we didn't set stackDeficit to zero after ending an inlined call. Adds the repro case and moves all the tests to slow.
Esse commit está contido em:
@@ -0,0 +1,14 @@
|
||||
<?hh
|
||||
|
||||
class X {
|
||||
protected function foo(): Map<string,string>{ return Map {}; }
|
||||
function fiz(): void {
|
||||
$this->fuz('save', $this->foo());
|
||||
}
|
||||
function fuz($a, $b): void {
|
||||
var_dump($a, $b);
|
||||
}
|
||||
}
|
||||
|
||||
$x = new X;
|
||||
$x->fiz();
|
||||
@@ -0,0 +1,3 @@
|
||||
string(4) "save"
|
||||
object(Map)#2 (0) {
|
||||
}
|
||||
Referência em uma Nova Issue
Bloquear um usuário