Commit graph

511 commits

Author SHA1 Message Date
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Folkert
7123269f30 successfully load package-qualified host 2020-12-07 23:24:06 +01:00
Folkert
1471cd0db4 error message investigation 2020-12-06 21:19:52 +01:00
Folkert
66748d3a50 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-04 20:45:30 +01:00
Richard Feldman
cb488f5f4c
Fix comment 2020-12-03 22:26:09 -05:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Richard Feldman
a5fd9bff9d
Merge pull request #711 from rtfeldman/trailing-comma-record-annotation
Formatting record type annotation
2020-11-21 16:24:53 -05:00
Sébastien Besnier
d87b5bfd9f add failing tests 2020-11-21 20:36:26 +01:00
Chadtech
767a348812 Record references in can/expr before evaluating to runtime error 2020-11-21 14:07:09 -05:00
Folkert
4db48d9f13 more clippy things 2020-11-19 22:20:00 +01:00
rvcas
8df5d5c13c feat(parse): support capturing a str in Pattern::Underscore 2020-11-17 21:53:49 -05:00
rvcas
84c49040b2 feat(List): redudant mapping of Symbol::LIST_SUM 2020-11-15 12:34:58 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Sébastien Besnier
58acc59b01 correctly parse trailing commas in record 2020-11-13 19:02:26 +01:00
Sébastien Besnier
6ad1bb233a add TrailingComma to Record & little formatter refactor 2020-11-13 19:01:46 +01:00
Chad Stearns
c9e3531ecd Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-13 00:58:37 -05:00
Folkert
815b942f29 cleanup 2020-11-13 01:59:09 +01:00
Folkert
c05ec12be0 report a Foo.Bar malformed identifier 2020-11-12 20:48:34 +01:00
Folkert
bde82c3bb6 add Store constraint that does not report errors 2020-11-12 15:47:56 +01:00
Folkert
55b26277ca properly sort recursive definitions 2020-11-12 00:32:45 +01:00
Chad Stearns
4f54b87817 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-11 02:14:31 -05:00
Folkert
cf80e2852f add test for transitive alias import 2020-11-11 01:20:30 +01:00
Folkert
b62de8fc3c only aliases without type arguments can be host-exposed (for now) 2020-11-10 13:29:25 +01:00
Folkert
33f65caedd alias referenced by another alias is not unused! 2020-11-09 22:22:00 +01:00
Folkert
0b19c594c5 improve compare/Order 2020-11-09 21:21:14 +01:00
Folkert
063492680f recursive functions cannot capture other recursive functions from their LetRec 2020-11-09 15:54:02 +01:00
Folkert
4868c0bd25 fix problem with patterns and optional record fields 2020-11-09 01:04:40 +01:00
Sébastien Besnier
66392eeeaf other parsing adjustment! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
420e1c84e0 make clippy happy 2020-11-08 13:48:19 +01:00
Sébastien Besnier
1c5f381c09 cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
8ac078936a add some tests around definition parsing -- all passing at the first time ! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501 fix parsing issue 2020-11-08 13:48:19 +01:00
Richard Feldman
6db4bd6ed4 Drop spaces around fields in canonicalization 2020-11-08 13:48:19 +01:00
Richard Feldman
5f82372899 Fix AnnotatedBody desugaring 2020-11-08 13:48:19 +01:00
Richard Feldman
6c01d02de0 Make ann_pattern and ann_type references 2020-11-08 13:48:19 +01:00
Richard Feldman
b0e4f4c97f Reproduce nested_unannotated body 2020-11-08 13:48:19 +01:00
Richard Feldman
93867b1a1b Improve some error reporting 2020-11-08 13:48:19 +01:00
Richard Feldman
77662970e9 Drop debug println 2020-11-08 13:48:19 +01:00
Sébastien Besnier
01b9b4a08d update nested test 2020-11-08 13:45:47 +01:00
Sébastien Besnier
ad9ff3b3a9 add nested tests 2020-11-08 13:45:47 +01:00
Sébastien Besnier
6dbde806d6 cargo-fmt 2020-11-08 13:43:11 +01:00
Sébastien Besnier
f4c1af0f19 test_can pass 2020-11-08 13:43:11 +01:00
Sébastien Besnier
014131dabe handle AnnotatedBody everywhere. It compiles now! 2020-11-08 13:43:11 +01:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Jared Ramirez
74b09605a7
Merge branch 'trunk' into builtin-count-graphemes 2020-11-07 18:49:29 -06:00
Chad Stearns
d41e940b7f Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-07 02:07:52 -05:00