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
Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
async_hint5.php
blob
f00398cbee3c7df267ea38da478b4b6be8ad27ed
1
<
?hh
2
3
// Testing lambda
4
async
function
foo
() {
5
$nohint
=
async
$x
==>
await
$x
+
1
;
6
throw new
Exception
();
7
}