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
Move tests for yield statement into own directory
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
yield
/
asyncgen8.php
blob
1a2932103f289007717a9d193db59b95fb5c52ad
1
<
?hh
// partial
2
3
async
function
f
() {
4
yield
1
;
5
}
6
7
async
function
g
():
Awaitable
<
void
> {
8
foreach
(
f
()
await
as
$x
) {
9
}
10
}