No error on use of `unsafe_cast`
[hiphop-php.git] / hphp / hack / test / typecheck / parent_override_trait2.php.exp
blob87a0673d13e124ae0a03a9b6cbff79e1815aef30
1 File "parent_override_trait2.php", line 16, characters 7-7:
2 Class `A` does not correctly implement all required members (Typing[4340])
3 File "parent_override_trait2.php", line 16, characters 17-17:
4 Some members are incompatible with those declared in type `B`
5 File "parent_override_trait2.php", line 7, characters 16-16:
6 Non-abstract constants defined in an interface or trait cannot conflict with other inherited constants.
7 File "parent_override_trait2.php", line 4, characters 16-16:
8 `X` inherited from `I1`
9 File "parent_override_trait2.php", line 7, characters 16-16:
10 conflicts with constant `X` inherited from `I2`.