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
Error on self::class on non final classes
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
array_append_pair_component_bad.php
blob
0a0813c6acbb5e1ec4f3f64ab4aca2d5384fb564
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
function
test
(
Pair
<
int
,
vec
<
string
>>
$p
):
void
{
5
$p
[
1
][] =
'foo'
;
6
}