Commit graph

6629 commits

Author SHA1 Message Date
Richard Feldman
c28f00ecb2 Attempt to add List.get to mono/ 2020-04-25 06:19:13 -04:00
Richard Feldman
d97e16de7e Revert "Attempt a mono/ approach for List.get"
This reverts commit f0b76f41da.
2020-04-25 06:19:10 -04:00
Richard Feldman
f0b76f41da Attempt a mono/ approach for List.get 2020-04-25 06:19:06 -04:00
Richard Feldman
aac5077c8b Remove DEFAULT_CALLING_CONVENTION 2020-04-23 17:41:05 -04:00
Richard Feldman
5b7a16afad Add intrinsics for sqrt and round 2020-04-23 17:41:05 -04:00
Folkert
81769b4e65 fix clippy's newly-learned warnings 2020-04-23 22:12:24 +02:00
Folkert
b433988fde Merge remote-tracking branch 'origin/trunk' into pattern-exhaustiveness-records 2020-04-23 21:57:09 +02:00
Folkert
4530aa8c07 handle Unboxed 2020-04-23 21:55:21 +02:00
Folkert
848764cb25 improve formatting of records in pattern exhaustiveness errors 2020-04-23 21:49:24 +02:00
Folkert
c54d61c854 fix formatting of ctor patterns in errors 2020-04-23 20:30:42 +02:00
Folkert
b2a713915b fix ordering bug in pattern exhaustiveness 2020-04-23 20:12:40 +02:00
Richard Feldman
5992b42ebe Remove unnecessary conditionals 2020-04-22 23:35:57 -04:00
Richard Feldman
04ec592eeb Revert "Thread ret_layout through CallByName"
This reverts commit 632d4eca92.
2020-04-22 08:33:53 -04:00
Richard Feldman
a1b670d2a5 Revert "Extract build_tag"
This reverts commit e998a31cf9.
2020-04-22 08:33:26 -04:00
Richard Feldman
9d37f7ae73 s/IndexOutOfBounds/OutOfBounds/g 2020-04-22 08:32:31 -04:00
Richard Feldman
632d4eca92 Thread ret_layout through CallByName 2020-04-22 08:30:41 -04:00
Richard Feldman
c450a67421 Add some tag code gen tests 2020-04-22 08:30:41 -04:00
Richard Feldman
e998a31cf9 Extract build_tag 2020-04-22 08:30:41 -04:00
Chad Stearns
5ca1174f78 Another when condition test 2020-04-21 23:49:26 -04:00
Chad Stearns
73744b3b1d Merge branch 'trunk' of github.com:rtfeldman/roc into format-precedence-conflict 2020-04-21 23:40:13 -04:00
Chad Stearns
8e86146963 Lots of new tests. Lots of commented-in tests. Tests that had a lot of assertions broken out into separate tests 2020-04-21 23:40:08 -04:00
Chad Stearns
ffdce07d29 fixed formatting error for if statement formatting 2020-04-21 23:39:22 -04:00
Chad Stearns
c3d296a026 fixed formatting error for when formatting 2020-04-21 23:38:04 -04:00
Chad Stearns
ac85f86b9e Removed panics 2020-04-21 23:37:00 -04:00
Folkert
f0aa598ff9 use tag id instead of name in exhaustiveness checking 2020-04-21 16:24:43 +02:00
Folkert de Vries
e00356d0c4
Merge branch 'trunk' into refactor-specializations 2020-04-18 23:35:21 +02:00
Richard Feldman
53ecf6df3e Drop some unnecessary parens 2020-04-18 15:32:17 -04:00
Richard Feldman
f0d76825d2 Extract specializations from PartialProc 2020-04-18 11:24:25 -04:00
Richard Feldman
ea713023e8 Add explicit OptLevel to add_passes 2020-04-16 20:26:08 -04:00
Richard Feldman
2a03a74135 Use the equivalent of -O3 in Inkwell 2020-04-16 19:26:25 -04:00
Richard Feldman
1c1fee7e31 Trim trailing space off pretty_assertions dep 2020-04-16 19:24:24 -04:00
Folkert
aea48f703a working parser error 2020-04-16 01:30:28 +02:00
Folkert
719ef5b70e parse error infrastructure 2020-04-15 21:10:42 +02:00
Folkert
e21cdfc689 bring parse errors into the reporting tests 2020-04-15 19:49:05 +02:00
Richard Feldman
1517581ced Load main in the CLI and use it for gen 2020-04-15 07:06:11 -04:00
Richard Feldman
9ca754b8fd First pass at loading modules from cli 2020-04-15 07:06:11 -04:00
Richard Feldman
62186fdda4 Add load tests for apps 2020-04-15 07:06:11 -04:00
Richard Feldman
6c6e1d9ee3 Update some interface tests 2020-04-15 07:06:11 -04:00
Richard Feldman
d994d11760 Parse app module headers. 2020-04-15 07:06:11 -04:00
Richard Feldman
5980bc38da Merge remote-tracking branch 'origin/trunk' into order-of-ops 2020-04-15 05:03:42 -04:00
Folkert
c42b5a1e5b improved phantom type message 2020-04-14 21:27:29 +02:00
Folkert
7e4a1ef4bd better message for duplicate fields/tags 2020-04-14 21:18:37 +02:00
Chad Stearns
3f7d1cf33a Merge branch 'trunk' of github.com:rtfeldman/roc into format-precedence-conflict 2020-04-13 22:30:34 -04:00
Folkert
18c6c37c04 fix self-recursive alias case 2020-04-14 01:33:16 +02:00
Folkert
63bc923b37 remove panic 2020-04-13 22:54:24 +02:00
Folkert
f6af66f342 record, tag, alias errors
- duplicate fields and tags are reported
- circular aliases are reported
2020-04-13 20:53:16 +02:00
Folkert
0372b34e86 fix comments 2020-04-12 22:00:44 +02:00
Folkert
c69b0d69e5 fix enum and bool pattern match suggestions 2020-04-12 21:47:15 +02:00
Folkert
7632a4b484 highlight code snippets better 2020-04-12 20:59:16 +02:00
Folkert
c326b09964 errors for patterns 2020-04-12 16:39:54 +02:00