Skip to content

Add Rust style error messages

Ondřej Čertík requested to merge certik/lfortran:e1 into master

This MR implements nice Rust style diagnostic messages (Error, Warning, Note, Help) with primary/secondary labels and their proper Rust style rendering. We use this functionality to render error messages. Tests updated.

Fixes #600 (closed).

Before:

Screen_Shot_2021-10-16_at_9.46.00_PM

After:

Screen_Shot_2021-10-16_at_9.46.19_PM

Also GFortran 11.0.1 for comparison:

Screen_Shot_2021-10-16_at_9.46.41_PM

Edited by Ondřej Čertík

Merge request reports

Loading