Commit graph

705 commits

Author SHA1 Message Date
Folkert
7818e84316 convert ErrorType to ReportText 2020-04-06 21:40:54 +02:00
Folkert
854ffdae5e stylistic improvements 2020-04-06 21:40:54 +02:00
Richard Feldman
945ee879db s/List.length/List.len 2020-04-06 06:23:00 -04:00
Richard Feldman
002fda7b55 Expand stack size further 2020-04-06 06:22:24 -04:00
Richard Feldman
954ec9eb24 Drop obsolete test 2020-04-06 06:21:38 -04:00
Richard Feldman
fbeaafc91b Fix canoncalization errors in solve tests 2020-04-05 23:30:39 -04:00
Richard Feldman
7ad4fb0e68 Add List.concat 2020-04-05 23:30:39 -04:00
Richard Feldman
41662af399 Allow UnusedDef problems in solve tests 2020-04-05 23:30:39 -04:00
Richard Feldman
20f7243373 Rename test_canonicalize to test_can 2020-04-05 23:30:39 -04:00
Richard Feldman
a291946aa5 Check for canoncalization problems in solve 2020-04-05 23:30:39 -04:00
Richard Feldman
3b507f4f48 Add canonicalization checks to infer_eq_help 2020-04-05 23:30:39 -04:00
Richard Feldman
d99fda3845 Union references in TypedBody
Fixes #298
2020-04-05 23:30:39 -04:00
Richard Feldman
928d1bba6c Reproduce #298 2020-04-05 23:30:39 -04:00
Richard Feldman
0357ff552b Improve a todo error message 2020-04-05 23:30:39 -04:00
Chad Stearns
21ef4fb66c Merge branch 'shadowing-report' of github.com:rtfeldman/roc into shadowing-report 2020-04-05 21:28:03 -04:00
Chad Stearns
a56867ee79 Commented out multiline shadowing test 2020-04-05 21:27:22 -04:00
Chad Stearns
f56a06d53b Fixed shadowing test 2020-04-05 17:52:03 -04:00
Richard Feldman
e3bcb90217
Merge branch 'trunk' into shadowing-report 2020-04-05 17:51:52 -04:00
Richard Feldman
94801f1011 Use expanded stack on load tests 2020-04-05 17:32:06 -04:00
Richard Feldman
9cead44b39 Add PendingDef::ShadowedAlias 2020-04-05 17:26:56 -04:00
Chadtech
ea91f06490
Merge branch 'trunk' into shadowing-report 2020-04-05 15:57:11 -04:00
Chad Stearns
e4b9e0d6e7 Commented out incomplete code 2020-04-05 15:24:45 -04:00
Chad Stearns
89c949a9fd Clean up 2020-04-05 15:20:01 -04:00
Chad Stearns
d8511e3285 Two shadowing report tests 2020-04-05 15:19:43 -04:00
Folkert
9e331f4a60 add commented tests 2020-04-05 00:15:38 +02:00
Folkert
5b0d9e693b record update value 2020-04-05 00:15:38 +02:00
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
Richard Feldman
463eb6a1af Drop unused declaration in Cargo.toml 2020-04-03 21:46:36 -04:00
Folkert
05db8c0a48 cleanup 2020-04-04 01:58:59 +02:00
Folkert
51a3c72424 don't run pretty.rs tests 2020-04-04 01:50:19 +02:00
Folkert
ba16eff24d use pretty.rs for formatting 2020-04-04 01:41:17 +02:00
Folkert
a2a79925b3 complete add_category 2020-04-03 16:10:41 +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
Richard Feldman
930f83a283 fixup! Add ReportText::Code 2020-04-03 00:47:44 -04:00
Richard Feldman
3313ad05fa Simplify some report helpers 2020-04-03 00:47:21 -04:00
Richard Feldman
bb2ececda4 Add ReportText::Code 2020-04-03 00:46:45 -04:00
Richard Feldman
c5b7b93593 Note how to rebuild bitcode 2020-04-03 00:17:34 -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
Richard Feldman
b8dc9ce1b2 Update bitcode importing instructions 2020-04-01 23:24:00 -04:00
Richard Feldman
01f3ae893f Use include_bytes! to import llvm bitcode 2020-04-01 23:24:00 -04:00
Richard Feldman
63bf1ce8b0
Merge branch 'trunk' into report-problems 2020-04-01 23:12:31 -04: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