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
Typing step for is-expression, part 1
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
is_expression
/
invalid_hint_void.php
blob
c27e3ab6f8ac7e9b03421ba57ef73c79683c80ef
1
<
?hh
// strict
2
3
function
foo
(
mixed
$x
):
bool
{
4
return
$x
is void
;
5
}