Updating submodules
[hiphop-php.git] / hphp / hack / test / typecheck / function_pointer / function_type_hint_optional_args.php.exp
blob15ba5a5ffc37095b476d2887ffc7cb1f4f6fbd8c
1 ERROR: File "function_type_hint_optional_args.php", line 50, characters 18-61:
2 Optional parameter cannot precede non-optional parameter (Parsing[1002])
3 ERROR: File "function_type_hint_optional_args.php", line 52, characters 3-62:
4 Optional parameter cannot precede non-optional parameter (Parsing[1002])
5 ERROR: File "function_type_hint_optional_args.php", line 54, characters 43-47:
6 Optional parameter cannot be inout (Parsing[1002])
7 ERROR: File "function_type_hint_optional_args.php", line 38, characters 11-19:
8 Invalid argument (Typing[4040])
9 File "function_type_hint_optional_args.php", line 28, characters 10-16:
10 Too few arguments (required 3 but got 1)
11 File "function_type_hint_optional_args.php", line 11, characters 3-55:
12 Because of this definition
13 ERROR: File "function_type_hint_optional_args.php", line 40, characters 11-20:
14 Invalid argument (Typing[4041])
15 File "function_type_hint_optional_args.php", line 29, characters 10-17:
16 Too many mandatory arguments (expected 1 but got 3)
17 File "function_type_hint_optional_args.php", line 11, characters 3-55:
18 Because of this definition
19 ERROR: File "function_type_hint_optional_args.php", line 19, characters 3-21:
20 Too many arguments (expected 3 but got 4) (Typing[4105])
21 File "function_type_hint_optional_args.php", line 11, characters 3-55:
22 Definition is here
23 ERROR: File "function_type_hint_optional_args.php", line 17, characters 9-13:
24 Invalid argument (Typing[4110])
25 File "function_type_hint_optional_args.php", line 11, characters 27-32:
26 Expected `string`
27 File "function_type_hint_optional_args.php", line 17, characters 9-13:
28 But got `bool`