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
/
concrete_redeclare_concrete_class_constant_bad.php
blob
61860371385d40a9c934c0876df195a54a811115
1
////file1.php
2
<
?hh
// strict
3
// Copyright 2004-present Facebook. All Rights Reserved.
4
5
class
A
{
6
const
int
P
=
9
;
7
}
8
9
////file2.hack
10
class
B
extends
A
{
11
const
arraykey P
=
5
;
12
}