Commit graph

264 commits

Author SHA1 Message Date
Brendan Hansknecht
436bfc41ed
disable glue test and update mono test 2022-12-03 13:17:36 -08:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME 2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere 2022-11-20 19:53:48 -05:00
Richard Feldman
36178b5f59
REVERT ME - add some debug info 2022-11-16 17:07:04 -05:00
Richard Feldman
58e672749c
Fix glue getter name synchronization 2022-11-16 17:06:21 -05:00
Richard Feldman
4ba59077b9
Return glue getters via pointer 2022-11-16 14:30:06 -05:00
Richard Feldman
53ab17d0e9
contains_functions -> has_varying_stack_size 2022-11-16 13:55:06 -05:00
Richard Feldman
781c151f17
Fix some more glue for getters 2022-11-16 13:26:45 -05:00
Richard Feldman
59e29bbb91
Allow unused variables in glue header 2022-11-16 13:26:09 -05:00
Richard Feldman
9b04480fdc
Make naming more consistent 2022-11-16 11:22:12 -05:00
Richard Feldman
b3f9ff562d
Silence some warnings 2022-11-16 10:51:57 -05:00
Richard Feldman
42f2d0941d
Fix some exhaustiveness errors with todo! for now 2022-11-16 10:38:27 -05:00
Richard Feldman
a9b116cbeb
Fix some exhaustivness errors in glue 2022-11-16 09:42:56 -05:00
Richard Feldman
8fc635efc3
Fix some glue borrow checker errors 2022-11-16 09:37:54 -05:00
Richard Feldman
2db6856dbf
Fix remaining glue type mismatches name: _, 2022-11-15 21:18:11 -05:00
Richard Feldman
66644f26a5
Use RocStructFields correctly in more places 2022-11-15 21:00:17 -05:00
Richard Feldman
5d062f901c
Fix a bunch of type mismatches 2022-11-15 20:48:11 -05:00
Richard Feldman
955ed673e3
Drop variant_size idea 2022-11-15 20:18:55 -05:00
Richard Feldman
f4c9d245b7
Revise Rust glue derive logic 2022-11-15 20:18:43 -05:00
Richard Feldman
6d54ec0ab8
Remove RocTags from glue 2022-11-15 20:09:25 -05:00
Richard Feldman
2de1b3f51d
Don't always derive PartialEq in glue 2022-11-15 20:09:01 -05:00
Richard Feldman
e5f4e08fec
wip 2022-11-15 16:41:51 -05:00
Richard Feldman
2122bcb563
Restore discriminant_offset 2022-11-15 12:17:40 -05:00
Richard Feldman
d3d21630e8
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2022-11-15 12:16:19 -05:00
Richard Feldman
8e2bbee377
Simplify how glue_procs are handled 2022-11-13 23:10:23 -05:00
Richard Feldman
746b2fdeb1
Further incorporate closures into glue 2022-11-12 18:08:30 -05:00
Richard Feldman
5b04c0e31d
Take closures into account with has_float_help 2022-11-12 15:51:05 -05:00
Richard Feldman
b943537068
s/glue_procs/glue_getter_procs for clarity 2022-11-12 04:19:55 -05:00
Richard Feldman
b06d90c405
Fix some single tag payload glue 2022-11-12 04:19:45 -05:00
Richard Feldman
c29d9ef682
Drop unused imports 2022-11-12 02:59:55 -05:00
Richard Feldman
3c80d8ee13
Thread glue procs into Types::new 2022-11-12 02:59:06 -05:00
Richard Feldman
d6490b8731
Don't hardcode glue to assume UNIX as the OS 2022-11-12 02:44:51 -05:00
Brian Carroll
b64514d7e4
Fix web REPL error formatting by routing the active Palette everywhere 2022-11-11 23:38:08 +00:00
Richard Feldman
99420f65ed
Merge branch 'glue-exposed' into glue-getters 2022-11-11 17:02:27 -05:00
Richard Feldman
cc190374b5
Inline Env::vars_to_types 2022-11-11 16:54:29 -05:00
Richard Feldman
7667aebebb
Avoid an allocation on variables 2022-11-11 16:53:56 -05:00
Richard Feldman
0c78716696
Fix glue for exposed-to-host-symbols 2022-11-11 16:43:36 -05:00
Richard Feldman
aca942864d
Extract Types::new and hide Env 2022-11-11 16:43:36 -05:00
Richard Feldman
1e7ffae62b
Only generate glue for exposed-to-host symbols 2022-11-11 16:42:28 -05:00
Richard Feldman
a0e450cadd
wip 2022-11-11 16:37:49 -05:00
Richard Feldman
c5037e7311
Extract Types::new and hide Env 2022-11-11 16:37:31 -05:00
Richard Feldman
15143e5aa7
Only generate glue for exposed-to-host symbols 2022-11-11 16:36:07 -05:00
Richard Feldman
f8fb4a1196
Add types::RocFn 2022-11-11 14:31:00 -05:00
Folkert
14cd48fce7
Merge remote-tracking branch 'origin/main' into rust-1-62-1 2022-11-09 13:51:51 +01:00
Ayaz Hafiz
281bc94b55
Remove FlatType::Erroneous 2022-11-08 14:11:25 -06:00
Richard Feldman
6486591201
Merge pull request #4462 from lukewilliamboswell/rust-docs
Rust docs update #2
2022-11-08 09:35:04 -08:00
Anton-4
590c61a6fd
Merge branch 'main' of github.com:roc-lang/roc into editor_launch_fix 2022-11-04 15:15:55 +01:00
Luke Boswell
a3f901427a
correct formatting and removed duplicate image 2022-11-03 20:02:10 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation 2022-11-03 20:00:06 +11:00
Ayaz Hafiz
05e8e6de6f
Disallow typing optional fields when required fields are annotated
Closes #4313
2022-10-18 15:50:20 -05:00