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
Solving inter-procedural constraints in shape-like-dict
[hiphop-php.git]
/
hphp
/
hack
/
test
/
shape_analysis
/
close_constraints
/
call_simple.php
blob
c712ed34846774e63a6e0525bcca3b7f73e9ea7a
1
<
?hh
2
3
function
f
():
void
{
4
g
(
dict
[
'a'
=>
42
]);
5
}
6
7
function
g
(
dict
<
string
,
mixed
>
$d
):
void
{
8
$d
[
'b'
];
9
}