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
/
invariant_err_msg.php
blob
467e626b92c68aeaa86a2339b4f7092ee715a1a0
1
<
?hh
// strict
2
3
class
A
{}
4
class
B
extends
A
{}
5
6
function
foo
(
Set
<
B
>
$x
):
Set
<
A
> {
7
return
$x
;
8
}