Actions
Bug #4905
closedMessages over 1000 characters are truncated
Start date:
2021-02-13
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:
Description
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
Actions