I'm currently rewriting the guts of argument passing which causes a few tests to fail.

1) Is the :opt_flag optional?

   .param string description  :optional
 # .param int    has_desc     :opt_flag    # <- is this always needed

(this is from Test/More.pir)

2) Param count mismatches

lua/t/function.t:

  local function g(a, b, ...)
  # .param pmc var_a ; .param pmc var_b ; .param pmc argv :slurpy
  ...
  g(3)

With param count checks turned on this would clearly fail. But what without these checks? Are these checks mandatory, as pdd03 implies, or do we keep a less strict mode, which would pass NULLs and create the slurpy argv for this case?

Thanks for clarification,
leo

Reply via email to