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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
test_consts13.php
blob
b2f2ad977e42575d944b1199cc95094664e0206e
1
////file1.php
2
<
?hh
// strict
3
4
abstract class
C1
{
5
abstract const
int
X
;
6
}
7
////file2.php
8
<
?hh
9
class
C2
extends
C1
{
10
const
string
X
=
'a'
;
// error: unexpected type
11
}