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
/
pending_if10.php
blob
1562ddf816d495e5041708aec18de97f5620a053
1
<
?hh
// strict
2
3
function
test
(
bool
$b
,
bool
$c
):
void
{
4
if
(
$b
) {
5
if
(
$c
) {
6
}
7
echo
$x
;
8
$x
=
1
;
9
}
else
{
10
$x
=
2
;
11
}
12
}