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
Add conflicting concrete typeconst check, change class const map to not consider...
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
stricter_consts
/
synthesized_const_no_conflict.php
blob
a4d1073b8bd0c37a40c32bc6a3f07e515bb0a5dd
1
<
?hh
2
3
class
A
{
4
const
int
X
=
3
;
5
}
6
class
B
extends
A
{
7
const
int
X
=
4
;
8
}
9
10
trait T
{
11
require extends
A
;
12
}
13
class
C
extends
B
{
14
use
T
;
15
}