Make Hack type checker produce error when async method is not awaitable
[hiphop-php.git] / hphp / hack / test / find_refs / static_method.php
blob904aa9aef96fbe71aa485e09147887eca2cdc880
1 <?hh
3 class C {
4 public static function foo() {
5 self::foo();
6 C::foo();
10 class D extends C {
11 public function f() {
12 self::foo();
13 static::foo();
17 function test() {
18 C::foo();
19 D::foo();