Disallow ... without type in function typehints
[hiphop-php.git] / hphp / hack / test / typecheck / constraint_gen5.php
blobfda250ac31525b01d2d840aef5074d3bcb8e996d
1 <?hh // strict
2 /**
3 * Copyright (c) 2014, Facebook, Inc.
4 * All rights reserved.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 class Equal<T1 as T2, T2 as T1> extends Equal<T2, T1> {
14 public function __construct(T1 $x, T2 $y) {
15 parent::__construct($x, $y);