Fix bug in hack codegen for sets
[hiphop-php.git] / hphp / hack / test / typecheck / lambda / async_lambda3.php
blob79454d1bee36cb21d80bce0a894be99bf165ab46
1 <?hh
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 function f(): void {
13 $x = async $v ==> $v;
14 /* HH_IGNORE_ERROR[4273] */
15 if ($x(true)) {}