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
Avoid unnecessary copy in DynamicPatch
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
unused_awaitable14.php
blob
f8bc8132e740e4db7c43924b800681e8f1054d30
1
<
?hh
2
3
async
function
f
():
Awaitable
<
string
> {
4
return
'foobar'
;
5
}
6
7
async
function
g
():
Awaitable
<
string
> {
8
$output
=
f
();
9
return
'
$foo
'
.(
string
)
$output
.
'bar'
;
10
}