/ tests / expectations / compiler / function / 17_inputs_fail.out
17_inputs_fail.out
 1  Error [ETYC0372168]: The transition `bar` has 17 input parameters, which exceeds the allowed limit of 16.
 2      --> compiler-test:3:16
 3       |
 4     3 |     transition bar(
 5       |                ^^^
 6       |
 7       = Consider reducing the number of input parameters. You might combine some parameters into a struct or refactor the {variant} to simplify its signature.
 8  Error [ETYC0372168]: The async transition `baz` has 17 input parameters, which exceeds the allowed limit of 16.
 9      --> compiler-test:11:22
10       |
11    11 |     async transition baz(
12       |                      ^^^
13       |
14       = Consider reducing the number of input parameters. You might combine some parameters into a struct or refactor the {variant} to simplify its signature.
15  Error [ETYC0372168]: The async function `baz_finalize` has 17 input parameters, which exceeds the allowed limit of 16.
16      --> compiler-test:19:20
17       |
18    19 |     async function baz_finalize(
19       |                    ^^^^^^^^^^^^
20       |
21       = Consider reducing the number of input parameters. You might combine some parameters into a struct or refactor the {variant} to simplify its signature.
22  Error [ETYC0372168]: The function `foo` has 17 input parameters, which exceeds the allowed limit of 16.
23      --> compiler-test:25:14
24       |
25    25 |     function foo(
26       |              ^^^
27       |
28       = Consider reducing the number of input parameters. You might combine some parameters into a struct or refactor the {variant} to simplify its signature.