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
Constraints for function arguments
[hiphop-php.git]
/
hphp
/
hack
/
test
/
shape_analysis
/
simplify_constraints
/
parameter3.php
blob
1e4ac7021daed4170d0a00306ba59deaf9ca4b7d
1
<
?hh
2
3
function
f
(
dict
<
string
,
int
>
$d
):
void
{
4
$d
=
dict
[];
5
$d
[
'k'
] =
42
;
6
inspect
(
$d
);
7
}
8
9
function
inspect
(
mixed
$_
):
void
{}