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
/
contravariance_static_function_bad.php
blob
5f62c0792f3a4eb0958a27ce0e7f1531f4651580
1
<
?hh
// strict
2
class
Contra
<-
T
> {
3
public static function
foo
(
int
$v
):
?T
{
4
return null
;
5
}
6
}