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
/
idx3_5.php
blob
efa9718ef60c84f0ab146ceeee9cbdf06ae90e0c
1
<
?hh
// strict
2
3
function
m
():
Map
<
string
,
int
> {
4
return
Map
{};
5
}
6
7
function
f
():
int
{
8
$m
=
m
();
9
$x
=
idx
(
0
,
'a'
,
0
);
10
return
$x
;
11
}