Fix build break after oxidized regen
[hiphop-php.git] / hphp / hack / test / typecheck / reactive / static_rx_if_implements6.php
blobd054549898b17072b5373ebd710613aa63bd8eae
1 <?hh // strict
3 interface Rx {}
5 class A {
6 <<__Rx, __OnlyRxIfImpl(Rx::class)>>
7 public static function f(): int {
8 return 1;
12 class B extends A {
13 <<__Rx>>
14 public function g() {
15 // should be an error, B does not implement Rx
16 self::f();