Move tests that only checks first error to subfolder
[hiphop-php.git] / hphp / hack / test / typecheck / reactive / only_first_error / static_rx_if_implements8_1.php
blob1793d0e1cc41123e68494a4265bb68a598eb44c6
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 static function g() {
15 // should be an error, B does not implement Rx
16 parent::f();