Commit graph

242 commits

Author SHA1 Message Date
Jared Ramirez
c44ecbb1e5 Fix reporting tests 2020-12-12 14:01:32 -08:00
Chadtech
bce5c2c9e8 Changed many instances of Dict and CustomDict in tests to RBTree 2020-12-12 04:28:30 -05:00
Chadtech
ec3cbc7bba Correct repl tests that suggested Map type 2020-12-12 04:27:51 -05:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Chadtech
767a348812 Record references in can/expr before evaluating to runtime error 2020-11-21 14:07:09 -05:00
Folkert
00978994bf improve a bunch of reported errors 2020-11-15 02:03:56 +01:00
Folkert
c05ec12be0 report a Foo.Bar malformed identifier 2020-11-12 20:48:34 +01:00
Folkert
58a7ea5572 fix unused argument formatting error 2020-11-09 22:31:05 +01:00
Folkert
33f65caedd alias referenced by another alias is not unused! 2020-11-09 22:22:00 +01:00
Richard Feldman
8429bd896f Fix fix of typo 2020-11-05 22:31:52 -05:00
Richard Feldman
b7914cda46
fix typo 2020-11-05 20:53:28 -05:00
Sébastien Besnier
619cabe1b8 add reporting tests 2020-11-04 10:51:34 +01:00
Folkert
a565ca79b8 builtins are not technically imported 2020-11-02 23:19:31 +01:00
Folkert
40bf9be1e2 fix bugs exposed by reporting tests 2020-10-30 22:15:28 +01:00
Folkert
5017a456be for now, allow work to be done twice
the scheduler can request that the same file is parsed/canonicalized/etc twice
we need to find a good solution so that no work is repeated
2020-10-30 21:57:54 +01:00
Folkert
9ff882751a disable a test for now 2020-10-17 12:35:53 +02:00
Folkert
c7b251d6b4 Merge remote-tracking branch 'origin/trunk' into gen-modules 2020-10-08 01:29:32 +02:00
Folkert
f857203673 Merge remote-tracking branch 'origin/trunk' into recursive-layouts 2020-09-07 16:53:15 +02:00
Sébastien Besnier
72497a1916 add test for tag with no args and boolean 2020-09-05 09:17:42 +02:00
Richard Feldman
0bdc7f2f74 Fix CLI underline character on Windows 2020-09-03 20:24:09 -04:00
Richard Feldman
58e9fa1255 Update formatting tests 2020-08-31 20:42:28 -04:00
Folkert
f9cf4ea371 recursive tag unions 2020-08-31 14:29:09 +02:00
Richard Feldman
3f0b08a992 Have Stmt::new accept LayoutCache 2020-08-12 23:14:06 -04:00
Folkert
4caef70668 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-09 13:49:13 +02:00
Richard Feldman
3fe2a4e3fd Drop unused jump_counter 2020-08-08 19:53:21 -04:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +02:00
Richard Feldman
c8e647ccfc Use is_zero_sized to remove lots of ptr_bytes 2020-08-07 20:08:06 -04:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Folkert
d46f6de52d fewer clones 2020-07-26 00:03:08 +02:00
Richard Feldman
db3dbe3551 Reproduce parse bug 2020-07-23 21:36:49 -04:00
Folkert
a82cc7f28f fix weird region in error messages 2020-07-21 16:20:03 +02:00
Folkert
b45b39af5e optional fields improvements 2020-07-21 15:25:21 +02:00
Folkert
e93c04a8ce improved error messages for function definitions 2020-07-20 21:38:21 +02:00
Folkert
1d2251b064 add reporting error message tests 2020-07-20 16:05:53 +02:00
Richard Feldman
f39b194d45 Update tests for new pattern regions 2020-07-17 19:49:27 -04:00
Folkert
331a8ed5eb error message for record update and missing module 2020-07-14 23:37:19 +02:00
Folkert
d7b2dc7a3b fix test failures caused by def reordering 2020-07-11 02:01:23 +02:00
Folkert
b7c35665aa report empty non-base-10 integers 2020-07-08 14:18:02 +02:00
Richard Feldman
1cd49689c2 Merge remote-tracking branch 'origin/trunk' into low-level-ops 2020-07-07 21:09:50 -04:00
Richard Feldman
e78064c037
Merge branch 'trunk' into number-error-reporting 2020-07-07 18:48:39 -04:00
Folkert
edb79b8fce pretty error messages for floats 2020-07-07 22:53:54 +02:00
Folkert
9d67b11c0d pretty error messages for integers 2020-07-07 22:10:23 +02:00
Folkert
58dfeba043 accept a newline and body when patterns are different 2020-07-07 17:26:45 +02:00
Folkert
e595c14fae wip 2020-07-06 20:38:10 +02:00
Folkert
b7d689226c cover all parsed patterns with an error message
but, some invalid patterns are not parsed as expected. See https://github.com/rtfeldman/roc/issues/399
2020-07-04 20:39:49 +02:00
Folkert
0c7a4179aa report malformed int and float patterns 2020-07-04 20:29:37 +02:00
Folkert
667233a00d report error for invalid alias argument patterns 2020-07-03 16:54:28 +02:00
Folkert
744b8ce32b fix todos regarding InvalidCycle 2020-07-03 15:42:24 +02:00
Folkert
0cfb16c7d5 implement canonicalization error when signature pattern does not match definition pattern. 2020-07-02 23:24:10 +02:00