epatrizio / ola

OCaml Lua Interpreter
The Unlicense
1 stars 1 forks source link

Bug variadic function #11

Closed epatrizio closed 11 months ago

epatrizio commented 1 year ago

Parsing error with function signature like function f(a, ...) function f(...) is ok !

epatrizio commented 11 months ago

it seems that the bug is close than this one : https://github.com/epatrizio/ola/commit/12c324ce73637e47f49ba3323699799dab624941

epatrizio commented 11 months ago

it seems that the bug is close than this one : 12c324c

Yes. Syntax error caused by an optional element (here variadic ...) at the end of the list.