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
/
class_meth_no_typedef.php
blob
9a0e41f6b5f1d1a70c3b3c21e09a0d21df53956a
1
<
?hh
// partial
2
3
class
Foo
{
4
public static function
f
():
void
{}
5
}
6
7
type Bar
=
Foo
;
8
9
function
f
(): (
function
():
void
) {
10
return
class_meth
(
'Bar'
,
'f'
);
11
}