repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make Hack type checker produce error when async method is not awaitable
[hiphop-php.git]
/
hphp
/
hack
/
test
/
find_refs
/
static_method.php
blob
904aa9aef96fbe71aa485e09147887eca2cdc880
1
<
?hh
2
3
class
C
{
4
public static function
foo
() {
5
self
::
foo
();
6
C
::
foo
();
7
}
8
}
9
10
class
D
extends
C
{
11
public function
f
() {
12
self
::
foo
();
13
static
::
foo
();
14
}
15
}
16
17
function
test
() {
18
C
::
foo
();
19
D
::
foo
();
20
}