Issue by nex3Originally opened as dart-lang/sdk#19665
If a span points to the final line in a file, and that line doesn't end in a newline, the arrows in getLocationMessage will be rendered on the same line as the source text. For example:
Error on line 12, column 28 of pubspec.yaml: Error loading transformer: I hate these settings!
- app/src/html_rewriter: {} ^^
Issue by nex3 Originally opened as dart-lang/sdk#19665
If a span points to the final line in a file, and that line doesn't end in a newline, the arrows in getLocationMessage will be rendered on the same line as the source text. For example:
Error on line 12, column 28 of pubspec.yaml: Error loading transformer: I hate these settings! - app/src/html_rewriter: {} ^^