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
Error on self::class on non final classes
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
decl_default_var.php
blob
2c48a1cf4ae966eed5059130460e9e24b4b15d69
1
//// base.php
2
<
?hh
// partial
3
/**
4
* Copyright (c) 2014, Facebook, Inc.
5
* All rights reserved.
6
*
7
* This source code is licensed under the MIT license found in the
8
* LICENSE file in the "hack" directory of this source tree.
9
*
10
*
11
*/
12
13
abstract class
Base
{
14
private
bool
$b
=
false
;
15
}
16
17
//// derived.php
18
<
?hh
// partial
19
20
class
Derived
extends
Base
{}