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
/
yield_return1.php
blob
880cff213d52d0e1e711030c9f50e28536b15d22
1
<
?hh
2
3
function
f
():
Generator
<
int
,
int
,
void
> {
4
while
(
true
) {
5
yield
1
;
6
return
;
7
}
8
}