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
/
async_block4.php
blob
1d61b733773a1dfc178228321e91c64eaf686676
1
<
?hh
// strict
2
3
async
function
f
():
Awaitable
<
string
> {
4
/* HH_FIXME[1002]: check parser error recovery */
5
$x
= () ==>
async
{
6
return
10
;
7
};
8
return
await
$x
();
9
}