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
/
shape_idx4.php
blob
7921b09a30d459dad349bd73b3fee6865738ef97
1
<
?hh
// strict
2
3
/**
4
* Argument is not a shape
5
*/
6
function
test
(
int
$s
):
void
{
7
Shapes
::
idx
(
$s
,
'x'
);
8
}