Commit graph

580 commits

Author SHA1 Message Date
Folkert
88a1a0fd40 rename variable 2021-11-19 23:30:12 +01:00
Folkert
71d2f1c17c generate error message when main has unresolved type variables 2021-11-19 23:21:29 +01:00
Folkert
640b4e2d0b cleanup 2021-11-19 22:25:37 +01:00
Folkert
74f073b3c6 use HostSpecializations from file.rs 2021-11-19 22:20:50 +01:00
Folkert
4a454eeb25 remove all_pending_specializations from file.rs State 2021-11-19 21:27:05 +01:00
ayazhafiz
8b7217847d Rename additional stale roc_module::operator refs and format 2021-11-18 20:20:33 -05:00
ayazhafiz
8a60162a1e Rename roc_module::operator -> roc_module::called_via
A bit of a nit, but this file is now more general than just keeping
track of operator methods.
2021-11-18 20:20:33 -05:00
Folkert
9aca302c39 Merge remote-tracking branch 'origin/trunk' into deep-copy-var-to 2021-11-18 13:16:24 +01:00
Folkert
f9c81bffe0 make external specializations more efficient
- create fewer Subs values
- don't merge Subs if not needed
2021-11-17 23:09:20 +01:00
Callum Dunster
f972098e70 Move reporting module into root. 2021-11-16 19:58:21 +01:00
Joshua Warner
6fab6e20f5 Fix clippy 2021-11-14 10:40:09 -08:00
Joshua Warner
8c8bc910fd Convert exposes_modules to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
c4e70ca7aa Convert exposes_values to ccollection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
71cc8d4c4b Convert requires_rigids to collection_trailing_sep_e 2021-11-14 10:14:53 -08:00
Joshua Warner
df89fe7dd6 Make provides a Collection 2021-11-14 10:14:53 -08:00
Joshua Warner
23c75d2699 Allow trailing comments in imports decl 2021-11-14 10:14:53 -08:00
Joshua Warner
c10f403c94 Allow trailing comments in exposes decl 2021-11-14 10:14:52 -08:00
Joshua Warner
1fabc64fdf Use Collection in Expr::TagUnion 2021-11-13 07:38:39 -08:00
Joshua Warner
4df0880e7a Commit local changes (whoops!) 2021-11-11 18:57:26 -08:00
Joshua Warner
04d4a8ca79 Introduce Collection as a general abstraction in the ast 2021-11-11 14:49:33 -08:00
Joshua Warner
0e9d7d8b7b Fix clippy lints due to clones on now-Copy types 2021-11-10 19:55:11 -08:00
Brendan Hansknecht
73e2cbcb1e Make versions numbers consistent and matching the lock files 2021-11-06 13:24:45 -07:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Brendan Hansknecht
bddc08c977 Remove unused dependencies 2021-11-05 16:58:11 -07:00
Folkert
c5005d3dd1 Merge remote-tracking branch 'origin/trunk' into partialproc-by-reference 2021-11-03 15:32:39 +01:00
Folkert
a15183a7d1 refactor 2021-11-03 14:09:04 +01:00
Folkert
74df66a472 make new PartialProcs struct 2021-11-03 13:59:00 +01:00
Folkert
54429162ad clippy 2021-11-01 23:19:47 +01:00
Folkert
05b5cd3429 specializations requested in file.rs are specializations for the host 2021-10-29 21:27:26 +02:00
Matthias Beyer
c47da13994 Fix indention
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 15:00:51 +02:00
Matthias Beyer
0c8db62533 Fix: Add missing space in error message
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 15:00:51 +02:00
Anton-4
39974ea039 Merge branch 'trunk' of github.com:rtfeldman/roc into function_closure_to_mark_node 2021-10-25 14:34:58 +02:00
Folkert
2e773e5f66 turn module_thunks into a slice 2021-10-22 22:59:00 +02:00
Folkert
6a6ea64323 abstract checking of is module thunk 2021-10-22 22:16:52 +02:00
Folkert
6400baf2c1 shrink Procs until the last moment 2021-10-22 21:42:53 +02:00
Folkert
eaaf3eb940 simplify monomorphization first steps 2021-10-22 18:12:46 +02:00
Folkert
0529d6dbc6 refactor insert_named 2021-10-22 17:22:15 +02:00
Folkert
9d343ab206 use vector instead of set 2021-10-22 16:57:14 +02:00
Anton-4
c7c421b2f5 fixed scope lookup bug 2021-10-19 16:45:28 +02:00
Folkert
5084fd533b only do type checing for roc check 2021-10-10 16:32:14 +02:00
Folkert
15a2ac7410 update more List.walk uses 2021-10-10 12:35:52 +02:00
Richard Feldman
e3a8d436cf
Merge pull request #1607 from rtfeldman/editor-let-value
file loading/saving/running, headers, top level defs
2021-10-03 15:45:08 -05:00
Anton-4
e0bd644c79 single threaded file loading with env var 2021-09-27 15:16:07 +02:00
Anton-4
bae7a12e9e Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-24 11:52:27 +02:00
Folkert
77911cb68a store closure data for bool/byte again 2021-09-18 01:01:38 +02:00
Richard Feldman
fc1be5d90b Fix total_problems calculation 2021-09-11 16:34:30 -04:00
Anton-4
f1af9df70b applied Folkert's fix 2021-09-10 12:04:07 +02:00
Anton-4
18901129fd platform temp fix, ready for demo 2021-09-09 20:06:29 +02:00
Anton-4
db4f788076 assertion failed solved_all 2021-09-09 16:55:30 +02:00
Folkert
f40949c64e pass correct argument to procs.get_specialized_procs_without_rc 2021-09-08 20:04:24 +02:00