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
Fixed list difference algorithm
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
constraints
/
class_method_tparam.php
blob
1ae1b7ca4e50c2fce101ba736e7687f3ecbefdff
1
<
?hh
// strict
2
3
interface
Constraint
<
T
as
num
> {}
4
5
class
InvalidConstraint
{
6
public function
foo
<
T
as
Constraint
<
mixed
>>(
T
$c
):
void
{}
7
}