Commit graph

244 commits

Author SHA1 Message Date
Folkert
f8b3d5dce7 elem_in_list 2020-04-05 00:15:38 +02:00
Folkert
200adae507 when_branch_mismatch 2020-04-05 00:15:38 +02:00
Folkert
98479511f5 when_if_guard 2020-04-05 00:15:38 +02:00
Richard Feldman
d28f8449d0 Report errors in the CLI 2020-04-03 21:58:44 -04:00
Folkert
ba16eff24d use pretty.rs for formatting 2020-04-04 01:41:17 +02:00
Richard Feldman
98f4f46248 Special-case 2-branch if/else errors 2020-04-03 01:51:42 -04:00
Richard Feldman
dc3e2d307c Revise conditional error wording. 2020-04-03 01:05:55 -04:00
Richard Feldman
67b7be9786 Revise error for reporting 2020-04-03 00:48:00 -04:00
Folkert
1981a7e467 refactor and clean up 2020-04-03 01:20:35 +02:00
Folkert
604dbf7215 Merge remote-tracking branch 'origin/trunk' into precedence-error 2020-04-02 23:29:15 +02:00
Folkert
2e822e739f report circular type error 2020-04-02 23:13:35 +02:00
Chad Stearns
30dadd882c Binop precedence problem report test 2020-04-01 22:17:39 -04:00
Folkert
8642cfeae0 report first type error 2020-04-01 23:37:05 +02:00
Folkert
14ad793bd7 hook up TypeError 2020-04-01 16:28:10 +02:00
Folkert
6531845966 fix off-by-one error 2020-04-01 00:06:48 +02:00
Folkert
8e8f93955e cleanup 2020-03-31 23:54:14 +02:00
Folkert
48832ffa84 add error under/side lines 2020-03-31 23:49:26 +02:00
Folkert
2b4b63a8eb add caret underline for sinlg-line regions 2020-03-31 23:28:14 +02:00
Folkert
11c8e2bfaa improve Precedence error message 2020-03-31 23:11:35 +02:00
Richard Feldman
33d5e528a6 Use Interns for module_id in reporting tests 2020-03-30 23:57:57 -04:00
Folkert
4947e2638c remove RuntimeError panics in canonicalization 2020-03-30 15:59:00 +02:00
Folkert
e05bad3c72 remove panic in constrain/src/pattern 2020-03-30 15:09:15 +02:00
Chad Stearns
62c7a7c3e2 Small adjustments to reports 2020-03-29 18:42:35 -04:00
Chad Stearns
da4e97fd25 Many commented out report tests and report_problem_as helper 2020-03-29 18:04:22 -04:00
Chad Stearns
221581432a Two non-functional problem reports 2020-03-29 14:28:06 -04:00
Chad Stearns
a00ed8a1ca Misc cleaning up 2020-03-29 14:27:21 -04:00
Chad Stearns
a19287f657 Module name report text variety 2020-03-29 14:26:41 -04:00
Chad Stearns
3f2579c4f3 Module name report text variety 2020-03-29 14:26:25 -04:00
Chad Stearns
57cf650ac7 All report text types rendered in color with tests 2020-03-22 21:56:22 -04:00
Chad Stearns
3ea27dab39 Cleaned up report tests 2020-03-22 21:24:08 -04:00
Chad Stearns
1478fbca3f Region with line numbers of different string length need to pad shorter line numbers 2020-03-22 21:22:59 -04:00
Chad Stearns
ab61d3d357 Use human readable forms of ansi codes in reporting tests 2020-03-20 22:03:08 -04:00
Chad Stearns
beb94dc6f5 Cargo Fmt 2020-03-19 01:10:04 -04:00
Chad Stearns
9cdd7988fc Very start of render color terminal 2020-03-16 02:27:38 -04:00
Chad Stearns
009e1fa176 Small changes to region rendering 2020-03-15 20:57:32 -04:00
Chad Stearns
6a0655f96d Merging in remote 2020-03-14 12:35:00 -04:00
Chad Stearns
51ad7ea0f1 unused def report and batch report text 2020-03-14 12:28:36 -04:00
Folkert
fef590b9f7 remove unneeded variable check in reporting 2020-03-10 13:44:54 +01:00
Chad Stearns
b4e028a39c Upgrade to correct bumpalo version in reporting Cargo 2020-03-08 17:05:06 -04:00
Chad Stearns
a9cf87e67e Satisfy clippy 2020-03-08 16:48:08 -04:00
Chad Stearns
704b81d67c Restore report tests and also add more basic tests 2020-03-08 00:39:28 -05:00
Richard Feldman
d589f6b2df Fix infer_expr_help in test_reporting 2020-03-07 15:54:46 -05:00
Chad Stearns
a165248a17 Cargo fmt 2020-03-07 14:46:08 -05:00
Chad Stearns
922e5d5af3 Bringing in reporting test files 2020-03-07 14:44:11 -05:00