Messages over 1000 characters are truncated
If a node matches two very complex patterns, the ambiguity warning reporting the two patterns that are matched can exceed 1000 characters, but StandardDiagnostics.wordWrap truncates it to 1000. This is exactly the situation where you need to see exactly what went wrong. The unfortunate thing is that the information you really want is the line numbers of the two patterns, and this is the part that is lost; if we're going to truncate anything, it should be the pattern text.
Please register to edit this issue