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
A representative subset of errors that currently appear on declarations, but maybe...
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
new_type_errors
/
error_relocation
/
bad_inout_decl_parent1.php
blob
b68e3f8fc67941d222c5d5942eba0b7803c66460
1
<
?hh
// strict
2
3
class
C1
{
4
public function
foo
(
string
$x
,
inout
int
$y
):
void
{}
5
}
6
7
class
C2
extends
C1
{
8
public function
foo
(
string
$x
,
int
$y
):
void
{}
9
}