%Error: t/t_param_in_func_bad.v:23: Unsupported: Parameters in functions.
   localparam logic[7:0] digits[10]
                         ^~~~~~
%Error: t/t_param_in_func_bad.v:27: Can't find definition of variable: 'digits'
   return digits[d];
          ^~~~~~
%Error: Exiting due to
