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
/
xhp_attr_12.php
blob
a9a86a52097038c7f2912bdfb24f45b51c38e848
1
<
?hh
// partial
2
class
:
foo
{
3
attribute
:
bar
;
4
}
5
class
:
bar
{
6
attribute
array
blah
=
array
();
7
}
8
function
test
(:
foo
$obj
):
int
{
9
return
$obj
->:
blah
;
10
}