Make Hack type checker produce error when async method is not awaitable
[hiphop-php.git] / hphp / hack / test / find_refs / function.php
blobc17931e1851683f7794a4abc4f15f975b9b0d442
1 <?hh
3 function foo() {
4 foo();
7 class C {
8 public function __construct(
9 public $x = foo(),
10 ) {
11 foo();