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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
multiple_concrete_defs_from_traits.php
blob
0e025fa3c54a9ed19206c271970b1fb8204893ac
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
trait T1
{
5
public static
num
$p
=
5.4
;
6
}
7
8
trait T2
{
9
public static
num
$p
=
5.0
;
10
}
11
12
trait T3
{
13
public static
num
$p
=
4
;
14
}
15
16
class
C
{
17
use
T1
,
T2
,
T3
;
18
}