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
Error on self::class on non final classes
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
untyped_awaitable.php
blob
b7e8eea9845e10168e725668582bf8be49ac0d42
1
<
?hh
// partial
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
class
C
{
5
public function
bar
():
int
{
6
return
3
;
7
}
8
}
9
/* HH_FIXME[4101] */
10
async
function
foo
(
C
$c
):
Awaitable
{
11
return
$c
->
bar
();
12
}