Hi - any advice to resolve this issue?
So far, I've consulted the compiler readme, added a test and printed out the IR, which wasn't too helpful (I think the error originates from before generating the IR), and I briefly stepped through with a debugger but it hasn't helped too much.
What I'm expecting, given that the parser relies on combinators, is that there's a function parser of this sort (in pseudo-code):
function_parser = Opt(signature_parser) + Ignore(newline_parser) + function_declaration_parser
and I just have to change that to
function_parser = Opt(signature_parser) + Ignore(one_or_more(newline_parser)) + function_declaration_parser
But I can't seem to find it - is this a fair expectation? Am I going in the right direction?
Actually after stepping further I found this! A fix shouldn't be too hard
PR up!
Last updated: Jul 06 2025 at 12:14 UTC