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
/
shape31.php
blob
28523570cc740ab201df34bc1e0d93e3b7e94195
1
<
?hh
// partial
2
3
function
test
(
string
$key
):
void
{
4
$s
=
shape
();
5
/* HH_FIXME[4051] - there should only be one error,
6
and single HH_FIXME should squash it */
7
$s
[
$key
] =
4
;
8
}