Commit graph

1233 commits

Author SHA1 Message Date
Folkert
cb28e533b8 so close 2020-11-04 23:07:02 +01:00
Folkert
4c5a5dc6a2 thread things through 2020-11-04 21:03:43 +01:00
Folkert
2cf7a9fe42 fix tests 2020-11-03 20:13:38 +01:00
Folkert
212f8b4d50 change test runners to use new error reporting stuff 2020-11-03 19:36:02 +01:00
Folkert
1a36733c04 fix clippy issues 2020-11-02 23:44:59 +01:00
Folkert
ded8499f3a Merge branch 'multi-dep-bugs' of github.com:rtfeldman/roc into multi-dep-bugs 2020-11-02 23:25:40 +01:00
Folkert
a565ca79b8 builtins are not technically imported 2020-11-02 23:19:31 +01:00
Folkert
c933888690 differentiate between 0-arity thunks and function pointers 2020-11-02 22:50:12 +01:00
Folkert
89e01c63d1 make Num.maxInt and Num.minInt work 2020-11-02 21:49:44 +01:00
Folkert
0775f45217 thread variable through with_hole 2020-11-02 21:13:25 +01:00
Folkert
baf2d1a5bb thread variable through from_can 2020-11-02 20:34:26 +01:00
Folkert
841d696e6d cleanup 2020-11-02 20:28:12 +01:00
Folkert
497adb2ec4 always specialize imported symbols 2020-11-02 16:29:36 +01:00
Folkert
cb0bfa3eb7 Merge remote-tracking branch 'origin/trunk' into multi-dep-bugs 2020-11-02 15:52:44 +01:00
Richard Feldman
c61f838a2a
Merge branch 'trunk' into multi-dep-bugs 2020-11-01 16:59:13 -05:00
Pit Capitain
003d365ee0 Fix multi-dep thunk bugs 2020-11-01 21:29:12 +01:00
Chad Stearns
c412a8e0db Merge in remote trunk 2020-11-01 11:38:44 -05:00
lrosa007
bd696e1f6f feat(builtins): Num.asin : Float -> Float 2020-11-01 09:54:00 -05:00
lrosa007
4da2d7f101 feat(builtins): Num.acos : Float -> Float 2020-11-01 09:27:42 -05:00
Richard Feldman
491ae7a775 Drop unnecessary pub 2020-10-31 21:28:02 -04:00
Folkert
09ad286123 remove unused function 2020-10-31 15:29:36 +01:00
Folkert
8b3b677439 remove aliases from Let and LetCon 2020-10-31 15:27:24 +01:00
Folkert
9e981c264e fix clippy issues 2020-10-30 22:28:55 +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
58467d6515 get tests back up an running 2020-10-30 16:58:53 +01:00
Folkert
a0c8915678 Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-29 14:40:55 +01:00
Chad Stearns
a9c0185225 Bringing in remote trunk 2020-10-28 21:24:15 -04:00
Richard Feldman
b1d2e87401 Use assert_eq over assert 2020-10-28 20:33:42 -04:00
Folkert
ef1cee6c41 HUGE WIP 2020-10-28 01:13:04 +01:00
Folkert
5fbcfe18d3 new recvar design 2020-10-26 16:16:01 +01:00
Richard Feldman
5a2ba77406 Drop redundant #[test] annotation 2020-10-25 21:45:34 -04:00
Richard Feldman
793a1462e9 Run more assertions in test_mono 2020-10-25 21:45:34 -04:00
Folkert
7d2cc3aac2 WIP 2020-10-25 22:16:27 +01:00
Folkert
646f04ef7b give more context in runtime errors 2020-10-25 22:06:27 +01:00
Chadtech
5287a8db7d
Merge branch 'trunk' into str-split 2020-10-24 11:20:46 -04:00
Folkert
2c0416907c fix todo 2020-10-24 01:19:22 +02:00
Dimitar Apostolov
0ae045c1f3 Add canonical Expr for Str.startsWith 2020-10-22 23:24:29 +02:00
Folkert
4db09b10aa refactor ClosureLayout 2020-10-21 13:38:46 +02:00
Folkert
22dcdab222 use wrapping from closure layout to index into closure data 2020-10-21 13:31:32 +02:00
Folkert
c8c1a0678a code gen for variably-sized closures 2020-10-21 13:01:27 +02:00
Folkert
1953f563f7 add mono tests 2020-10-21 12:38:11 +02:00
Folkert
b0121097c9 store closures in data structures 2020-10-20 20:01:01 +02:00
Chad Stearns
af3882c8e3 Merging in remote trunk 2020-10-20 05:06:12 -04:00
Folkert
3408a31453 preparations for specializing closures 2020-10-20 00:33:10 +02:00
Folkert
894f7de009 changes to closure parameter rank 2020-10-18 23:37:21 +02:00
Folkert
7b4e87a671 use layout first to determine if something is a closure 2020-10-18 23:04:28 +02:00
Folkert
fd77a18908 fix clippy thing 2020-10-18 21:06:34 +02:00
Folkert
b0ef8b9b07 clarify how we deal with a closure layout 2020-10-18 21:05:48 +02:00
Folkert
b26f778ee0 code gen for closures that are by-unification, not because they capture anything 2020-10-18 20:50:51 +02:00
Folkert
9cecfe3558 remove closes_over field 2020-10-18 20:45:28 +02:00