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
Porting decl tests from partial to strict
[hiphop-php.git]
/
hphp
/
hack
/
test
/
decl
/
classes_consistent_construct.php
blob
2ff5b52079d63c020ef4e890165c3ff715772730
1
<
?hh
2
3
<<
__ConsistentConstruct
>>
4
class
C1
{}
5
6
class
C2
extends
C1
{
7
// new mandatory arg is not ok
8
public function
__construct
(
A
$a
) {}
9
}
10
11
class
A
{}