Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git] / hphp / hack / test / typecheck / yield_wait_forv_result_bad2.php
blob0f80b50ac9a4849ac83822e464c7d096c3d3f916
1 <?hh // strict
2 /**
3 * Copyright (c) 2014, Facebook, Inc.
4 * All rights reserved.
6 * This source code is licensed under the BSD-style license found in the
7 * LICENSE file in the "hack" directory of this source tree. An additional grant
8 * of patent rights can be found in the PATENTS file in the same directory.
12 async function bar(): Awaitable<array<int>> {
13 return await gena(array(1, 2, 3));