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
Disallow ... without type in function typehints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
deprecated_method.php
blob
1beb2bc16ff362d4e85b279b1e5f461cf905bc72
1
<
?hh
// partial
2
3
class
F
{
4
<<
__Deprecated
(
'use bar() instead'
)>>
5
public static function
foo
() {}
6
}
7
8
function
f
() {
9
F
::
foo
();
10
}