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
Disallow ... without type in function typehints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
void_usage.php
blob
39b8dce19d248fea3ee38cd3feed537a43c9b97e
1
<
?hh
// strict
2
3
function
v
():
void
{}
4
5
function
f
():
bool
{
6
return
1
===
v
();
7
}