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
/
suspend_outside_of_coroutines4.php
blob
4d0a5fdfc6878ebce405dfb1315f0cb80e266f7d
1
<
?hh
// strict
2
3
async
function
f
(
$b
,
$c
):
AsyncIterator
<
int
> {
4
$r
=
await
$b
;
5
yield
10
;
6
$a
=
suspend
$c
();
7
}