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
/
await_in_expressions2.php
blob
5793dee82f40a5eb96a492f867b18a7b46607015
1
<
?hh
// strict
2
3
async
function
f1
(
Awaitable
<
int
>
$a
):
Awaitable
<
void
> {
4
$x
=
1
;
5
$b
= (
$x
=
await
$a
);
6
}