3 // Copyright 2004-present Facebook. All Rights Reserved.
6 public function f(): ?this
{
11 abstract class B
extends A
{
12 public function g(): void
{}
22 function call
<Ta
, Tb
>(
24 (function(Ta
): Tb
) $f,
29 function test(): void
{
30 $b = call(b(), $x ==> $x->f());
31 call($b, $x ==> $x?
->g());