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
/
map_append_bad1.php
blob
e946a69843ec11e91caf6a1285e73dc90c141da8
1
<
?hh
// strict
2
3
function
foo
(
Map
<
string
,
int
>
$m
):
Map
<
string
,
int
> {
4
$m
[] =
123
;
5
return
$m
;
6
}