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
/
array_map3.php
blob
f7876e4214086c831751eca2b222555f1f6dc862
1
<
?hh
2
3
function
take_ints
(
array
<
int
>
$x
) {}
4
5
function
test
(
6
(
function
(
int
,
string
):
bool
)
$f
,
7
Container
<
int
>
$x
,
8
Container
<
string
>
$y
,
9
):
void
{
10
take_ints
(
array_map
(
$f
,
$x
,
$y
));
11
}