|
1 | | -ERROR: File "type_splat_bad.php", line 6, characters 46-53: |
| 1 | +ERROR: File "type_splat_bad.php", line 7, characters 13-20: |
2 | 2 | A splat parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
3 | | -ERROR: File "type_splat_bad.php", line 6, characters 71-86: |
| 3 | +ERROR: File "type_splat_bad.php", line 8, characters 3-19: |
4 | 4 | A splat parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
5 | | -ERROR: File "type_splat_bad.php", line 10, characters 46-53: |
| 5 | +ERROR: File "type_splat_bad.php", line 15, characters 13-20: |
6 | 6 | A splat parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
7 | | -ERROR: File "type_splat_bad.php", line 10, characters 74-90: |
| 7 | +ERROR: File "type_splat_bad.php", line 16, characters 3-19: |
8 | 8 | A splat parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
9 | | -ERROR: File "type_splat_bad.php", line 14, characters 46-53: |
| 9 | +ERROR: File "type_splat_bad.php", line 23, characters 13-20: |
10 | 10 | A splat parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
11 | | -ERROR: File "type_splat_bad.php", line 14, characters 80-96: |
| 11 | +ERROR: File "type_splat_bad.php", line 24, characters 3-19: |
12 | 12 | A splat parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
13 | | -ERROR: File "type_splat_bad.php", line 18, characters 36-74: |
14 | | -Optional parameter cannot precede non-optional parameter (Parsing[1002]) |
15 | | -ERROR: File "type_splat_bad.php", line 22, characters 46-51: |
| 13 | +ERROR: File "type_splat_bad.php", line 31, characters 13-18: |
16 | 14 | A variadic parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
17 | | -ERROR: File "type_splat_bad.php", line 22, characters 74-85: |
| 15 | +ERROR: File "type_splat_bad.php", line 32, characters 3-14: |
18 | 16 | A variadic parameter `...` may only appear at the end of a parameter list. (Parsing[1002]) |
19 | | -ERROR: File "type_splat_bad.php", line 26, characters 47-76: |
| 17 | +ERROR: File "type_splat_bad.php", line 39, characters 3-33: |
20 | 18 | A splat parameter `...` must not have a default value. (Parsing[1002]) |
21 | | -ERROR: File "type_splat_bad.php", line 31, characters 60-76: |
| 19 | +ERROR: File "type_splat_bad.php", line 46, characters 20-36: |
22 | 20 | A splat parameter cannot also be optional. (Parsing[1002]) |
23 | | -ERROR: File "type_splat_bad.php", line 31, characters 89-113: |
| 21 | +ERROR: File "type_splat_bad.php", line 47, characters 5-30: |
24 | 22 | A splat parameter cannot also be optional. (Parsing[1002]) |
25 | | -ERROR: File "type_splat_bad.php", line 33, characters 60-70: |
| 23 | +ERROR: File "type_splat_bad.php", line 51, characters 20-30: |
26 | 24 | A splat parameter cannot also be variadic. (Parsing[1002]) |
27 | | -ERROR: File "type_splat_bad.php", line 33, characters 83-101: |
| 25 | +ERROR: File "type_splat_bad.php", line 52, characters 5-24: |
28 | 26 | A splat parameter cannot also be variadic. (Parsing[1002]) |
29 | | -ERROR: File "type_splat_bad.php", line 37, characters 51-64: |
| 27 | +ERROR: File "type_splat_bad.php", line 58, characters 18-31: |
30 | 28 | A splat parameter `...` cannot have a modifier that changes the calling convention, like `inout`. (Parsing[1002]) |
31 | | -ERROR: File "type_splat_bad.php", line 37, characters 77-96: |
| 29 | +ERROR: File "type_splat_bad.php", line 59, characters 3-23: |
32 | 30 | A splat parameter `...` cannot have a modifier that changes the calling convention, like `inout`. (Parsing[1002]) |
33 | | -ERROR: File "type_splat_bad.php", line 40, characters 52-68: |
| 31 | +ERROR: File "type_splat_bad.php", line 64, characters 18-34: |
34 | 32 | Splat parameters cannot be marked readonly (Parsing[1002]) |
35 | | -ERROR: File "type_splat_bad.php", line 40, characters 81-103: |
| 33 | +ERROR: File "type_splat_bad.php", line 65, characters 3-26: |
36 | 34 | Splat parameters cannot be marked readonly (Parsing[1002]) |
37 | | -ERROR: File "type_splat_bad.php", line 18, characters 104-110: |
38 | | -A previous parameter has a default value. |
39 | | -Remove all the default values for the preceding parameters, |
40 | | -or add a default value to this one. (Typing[4077]) |
41 | | -ERROR: File "type_splat_bad.php", line 26, characters 51-55: |
| 35 | +ERROR: File "type_splat_bad.php", line 39, characters 7-11: |
42 | 36 | Some type arguments violate their constraints (Typing[4323]) |
43 | | - File "type_splat_bad.php", line 26, characters 57-63: |
| 37 | + File "type_splat_bad.php", line 39, characters 13-19: |
44 | 38 | Expected `(mixed...)` |
45 | | - File "type_splat_bad.php", line 26, characters 51-55: |
| 39 | + File "type_splat_bad.php", line 39, characters 7-11: |
46 | 40 | But got `Targs super (int, int, mixed...)` |
47 | | -ERROR: File "type_splat_bad.php", line 26, characters 51-55: |
| 41 | +ERROR: File "type_splat_bad.php", line 39, characters 7-11: |
48 | 42 | Some type arguments violate their constraints (Typing[4323]) |
49 | | - File "type_splat_bad.php", line 26, characters 57-63: |
| 43 | + File "type_splat_bad.php", line 39, characters 13-19: |
50 | 44 | Expected `(mixed...)` |
51 | | - File "type_splat_bad.php", line 26, characters 51-55: |
| 45 | + File "type_splat_bad.php", line 39, characters 7-11: |
52 | 46 | But got `mixed` |
53 | | - File "type_splat_bad.php", line 26, characters 51-55: |
| 47 | + File "type_splat_bad.php", line 39, characters 7-11: |
54 | 48 | by the definition of `Targs` arising from an implicit `as mixed` constraint on this type |
0 commit comments