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 switch to disable partially abstract type constants
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
abstract_typeconsts
/
disable_patcs
/
abstract_default.php
blob
5e515a8b12f63e662c9c4b1595a7167c49f13a62
1
<
?hh
// strict
2
3
abstract class
C
{
4
abstract const
type T
as
mixed
=
arraykey
;
5
}
6
7
class
D
extends
C
{
8
const
type T
as
mixed
=
int
;
9
}