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
Check for void/noreturn in conditionals
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
covariance9.php
blob
e34c754945a89bfb64aab7be4611333eeacfe6ea
1
<
?hh
2
3
interface
Y
<
+T1
, -
T2
> {}
4
5
class
X
<
+T
> {
6
public function
test
((
function
(
Y
<
int
,
T
>):
void
)
$f
):
void
{
7
}
8
}