You made I good point. It’s clear that the extreme “take the shortest” rule is 
worse than the current “take the longest” rule. However that does not mean that 
there aren’t any rules that are still simple yet solve this problem (or make it 
much more unlikely). For example, disallowing (unquoted) binary operators 
ending with a “-“ and maybe a “.” might work in most cases and still would be 
pretty simple to understand.

Anyway, we both agreed that the current error message can be improved. I wish 
more could be done but I guess that all languages have their quirks.

Reply via email to