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
Begin naming table comparison
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
unused_awaitable16.php
blob
1e9ae2deea56949ad27b4fa011f743c859ab8f43
1
<
?hh
// strict
2
3
async
function
f
():
Awaitable
<
string
> {
4
return
'hehe'
;
5
}
6
7
async
function
g
():
Awaitable
<
void
> {
8
$gens
=
darray
[
'a'
=>
f
(),
'b'
=>
f
(),
'c'
=>
f
()];
9
$gens
=
array_map
(
$item
==> (
bool
)
$item
,
$gens
);
10
}