New inference: improved error message for unresolved type
[hiphop-php.git] / hphp / hack / test / typecheck / typing_fail_uninstantiable_variadic_meth.php
blob06cecd438eb4fedff00d1646b25aac261eaeb915
1 <?hh // strict
2 /**
3 * Copyright (c) 2018, 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.
9 */
11 abstract final class CannotBeInstantiatedWithT<T> {
14 class Factory {
15 public function errorWithT<T>(CannotBeInstantiatedWithT<T> ...$args): void {}