Disallow ... without type in function typehints
[hiphop-php.git] / hphp / hack / test / typecheck / delayed_subst3.php
blobf8d98fcbf65c4ebc02511cee04ecdce25cdecc9f
1 <?hh // strict
3 abstract class Base<T> {
4 public function test(T $data): void {}
7 trait MyTrait<T> {
8 require extends Base<T>;
11 final class Child<T> extends Base<T> {
12 use MyTrait<T>;