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
/
assing_array_get_pair_component_bad.php
blob
45ba0954a934bd8563d2b6a0234009e9284bee16
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
function
test
(
Pair
<
int
,
dict
<
string
,
int
>>
$p
):
void
{
5
$p
[
1
][
'foo'
] =
42
;
6
}