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
/
class_const_generics.php
blob
a92b320dd3eb5256d0111e35fd1162a91c590ebc
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
class
D
<
T
> {
5
public static function
m
():
void
{}
6
}
7
8
function
f
():
void
{
9
D
<
string
>::
m
();
10
}