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
/
unpack_call3.php
blob
932fa0610f51319afa0e084f6bb8cbc283ef918c
1
<
?hh
2
3
function
f
(
int
$foo
, ...
$args
) {}
4
5
function
test
() {
6
$args
=
'string'
;
7
f
(...
$args
);
// should be error
8
}