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