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
Add subtyping for vec_or_dict with nonnull
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
array_unification
/
vec_or_dict_to_nonnull.php
blob
fca32eeda55db79c5df5be8adc15fdc2421ce7c0
1
<
?hh
2
3
function
f
(
vec_or_dict
<
arraykey
,
mixed
>
$a
):
nonnull
{
4
return
$a
;
5
}