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
/
hh_fixme12.php
blob
e1ecb6b6c65159517b9efc7b4ca3156089598c7d
1
<
?hh
// partial
2
3
function
f
(
string
$s
):
string
{
4
return
$s
;
5
}
6
7
function
g
():
void
{
8
$xhp
=
9
<
p
10
/* HH_FIXME[4110] in XHP attrs */
11
class
={
f
(
1
)}>
12
para
13
</
p
>;
14
}
15
16
class
:
p
{
17
attribute
string
class
;
18
}