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
/
private_static2.php
blob
3f29db7d0441d2ede71dd1f5fb62169db723db5d
1
<
?hh
// strict
2
3
final class
X
{
4
private static
int
$prop
=
10
;
5
6
private static function
meth
():
void
{}
7
8
public function
test
():
int
{
9
static
::
meth
();
10
return static
::
$prop
;
11
}
12
}