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
/
deprecated_class_meth.php
blob
b7dc4f49a8c67bb489638937a911ecd61a6dd954
1
<
?hh
// strict
2
3
class
X
{
4
<<
__Deprecated
(
'use bar() instead'
)>>
5
public static function
foo
():
void
{}
6
}
7
8
function
f
(): (
function
():
void
) {
9
return
class_meth
(
X
::
class
,
'foo'
);
10
}