| 1 |
/*** |
| 2 |
!Test |
| 3 |
expected: !Result |
| 4 |
solution: !Solution |
| 5 |
x: 1.0 |
| 6 |
***/ |
| 7 |
|
| 8 |
% Used to give an error due to wrong coercion result when array2set is combined with int2float |
| 9 |
|
| 10 |
function float: foo(array [int] of float: x) = x[1]; |
| 11 |
float: x :: add_to_output = foo({1}); |