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
Check for void/noreturn in conditionals
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
class_meth_no_typedef.php
blob
29443b9797f29f49cd477db418424173308ce7cb
1
<
?hh
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
}