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
Disallow ... without type in function typehints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
cannot_append.php
blob
1b9feebdf8a3365cb6e08afc77f2864fb12a051c
1
<
?hh
// partial
2
3
function
foo
(
dict
<
int
,
string
>
$x
):
void
{
4
$x
[] =
"hello"
;
5
}