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
New inference: improved error message for unresolved type
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
inout
/
bad_inout_hint_return3.php
blob
958408a3231960b1d5691db3d6fc3390525d0677
1
<
?hh
// strict
2
3
function
foo
(): (
function
(
inout
int
,
string
):
int
) {
4
return
(
int
$x
,
$y
) ==>
42
;
5
}