Message383023
Thanks for opening an issue here, Christoph. This is the right place to discuss this.
Indeed the parser is pretty dumb when reporting errors. In the technical sense the colon is the right thing to point to, since it's the first token that's not grammatically correct. Of course, it's somewhat misleading that it points to a line that *seems* correct, but that probably as good as we can do with the parser's current error reporting mechanisms.
Showing more that one lines would indeed solve this specific case, but implementing this is also difficult and I don't think it's worth it for such an edge case.
Guido, Pablo, your views on this? |
|
Date |
User |
Action |
Args |
2020-12-14 23:35:53 | lys.nikolaou | set | recipients:
+ lys.nikolaou, gvanrossum, aroberge, lazka, pablogsal |
2020-12-14 23:35:53 | lys.nikolaou | set | messageid: <1607988953.45.0.371726057207.issue42577@roundup.psfhosted.org> |
2020-12-14 23:35:53 | lys.nikolaou | link | issue42577 messages |
2020-12-14 23:35:53 | lys.nikolaou | create | |
|