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
Begin naming table comparison
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
array
/
safe_vector_array
/
varray_with_array_map_does_not_return_dict_like_array.php
blob
e3bd2c09b17ed482e9dd8b1d79454fafe457668c
1
<
?hh
// strict
2
3
function
providesDictLikeArray
():
darray
<
int
,
int
> {
4
return
array_map
(
$x
==>
$x
,
varray
[
1
,
2
,
3
,
4
,
5
]);
5
}