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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
array_append_pair_component_good.php
blob
b82786a90815e9c20076fdeb82e8de8146e21380
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
function
test
(
Pair
<
int
,
Vector
<
string
>>
$p
):
void
{
5
$p
[
1
][] =
'foo'
;
6
}