Errors with loopline in Ocaml and Clojure

This contribution uses a loopline for gathering the values.

The stub generator is incorrect for some languages, at least Clojure and Ocaml, because they read the input line by line instead of splitting the unique line.

There was a similar bug in Perl. This contribution also fail for Clojure and Ocaml.

In this case, this can probably be fixed by using a loop instead of a loopline, but as I have shown, there is already contributions using this loop style.

2 Likes

Thanks, we’ll look into it.

2 Likes

I’m sorry @caduk for the time needed to fix it but we don’t have any Clojure / OCaml developers in the team. I’ve updated the generator to fix the loopline for these languages, feedback are welcome.

(you may need to reset the code)

3 Likes