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
/
pipe_operator_unused_dollardollar.php
blob
d253d39d8cce41632b0702373d5816eb68684704
1
<
?hh
2
3
function
foo
():
int
{
4
return
1
;
5
}
6
7
function
bar
():
int
{
8
return
2
;
9
}
10
11
function
piped
():
int
{
12
return
foo
()
|
>
bar
();
13
}