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
Disallow ... without type in function typehints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
unused_awaitable9.php
blob
604ce30a5ae0a06de552c08c22594d6c7dd6b194
1
<
?hh
// strict
2
3
async
function
f
():
Awaitable
<
?
int
> {
4
return
1
;
5
}
6
7
function
g
():
void
{
8
$f
=
f
();
9
if
(
$f
||
false
) {
10
}
11
}