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
Check for void/noreturn in conditionals
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
async_block3.php
blob
f3420e38b87a3a5934e99bdac1ab4326acb0a1e4
1
<
?hh
// strict
2
3
async
function
f
():
Awaitable
<
string
> {
4
$x
= () ==>
async
{
5
return
'foo'
;
6
};
7
return
await
$x
();
8
}