Disallow ... without type in function typehints
[hiphop-php.git] / hphp / hack / test / typecheck / array_mixed_strict.php
blob7d96a78cefe09f0508dd2569fbca2da29b6b5cbd
1 <?hh // strict
3 interface I {}
4 class C implements I {}
5 class D implements I {}
7 class Q {
8 public array<I> $arr;
9 public function __construct() {
10 $this->arr = array(new C(), new D());