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
/
lsb_disallow_override_subclass.php
blob
2ee4444d3c18587fc4046e4c6daa27049ce3dd47
1
<
?hh
// strict
2
3
class
A
{
4
<<
__LSB
>>
private static
int
$x
=
0
;
5
}
6
7
class
B
extends
A
{
8
}
9
10
class
C
extends
B
{
11
private static
int
$x
=
1
;
12
}