You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can one use a static param of type seq? (note: I don't want to use an array as that would tie default value to be of same length as the param, which is useless for example when default value is @[])
following code fails:
Error: type mismatch: got <static[array[0..-1, empty]]([])> but expected 'static[seq[string]]'
macro foo(a: static seq[string] = @[]): untyped = discard
how can one use a static param of type seq? (note: I don't want to use an array as that would tie default value to be of same length as the param, which is useless for example when default value is
@[]
)following code fails:
this affects c-blake/cligen#66 (comment)
The text was updated successfully, but these errors were encountered: