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
/
private_bad2.php
blob
876416b43ed216008b0eb3139f2c48d07cbd1e69
1
<
?hh
// strict
2
3
class
A
{
4
private static function
foo
():
int
{
5
return
4
;
6
}
7
}
8
9
class
B
extends
A
{
10
public function
bar
():
int
{
11
return
parent
::
foo
();
12
}
13
}