While vibe coding on a new project, the bot spat out the following line:
method commit*(backend: GitBackend, message: string, template: string) =
which the nim compiler refused unhelpfully with
Error: expected closing ')'
I believe it should be easy for the compiler to say that template is a reserved word.
But my critique is more general, as stated in the headline. The poor bot was spinning its wheels until I explained the problem.
I'd suggest to write an issue for your specific case. I usually also see if I can easily patch it. I usually can in stdlib ot not in the compiler.
Error messages did improve enormously since I started out so it seems to have an impact.
As a workaround, maybe you can tell the bot the problematic location by using the line and and column? Like extract 10 words left and right and tell the bot the problem in the middle, or something to give that additional information in a pattern friendly way.