Commit graph

562 commits

Author SHA1 Message Date
Folkert
a55461d0f8
format 2022-07-07 13:40:37 +02:00
Folkert de Vries
0412578e49
Merge pull request #3433 from rtfeldman/url-appending-fixes
url appending fixes
2022-07-07 11:51:40 +02:00
Ayaz
22f02984d3
Merge branch 'trunk' into 3378 2022-07-06 20:37:32 -05:00
Richard Feldman
85d87ab431
Merge pull request #3407 from rtfeldman/dylib-roc-benchmarks
Dylib roc benchmarks
2022-07-06 21:19:29 -04:00
Richard Feldman
20ea7289be
cliiiiiiiippy 2022-07-06 21:15:25 -04:00
Richard Feldman
daa044390a
Merge pull request #3430 from rtfeldman/format-defs-fix
format defs and ignore the spaces inbetween
2022-07-06 20:31:51 -04:00
Folkert de Vries
ea27d928c3
Merge pull request #3431 from rtfeldman/fix-more-comments
Fix more comment formatting
2022-07-07 02:00:45 +02:00
Brian Carroll
b1ea641cfb
wasm: enable more tests 2022-07-07 00:34:42 +01:00
Brian Carroll
c9a1600751
wasm: Fix List.map where the mapper has zero-size arguments 2022-07-07 00:05:56 +01:00
Folkert
c5ac4a2984
fix reallocation setting both length and capacity 2022-07-06 23:56:04 +02:00
Brian Carroll
25a2eddf0f
wasm: Create a stack frame pointer for any function with a zero-size arg 2022-07-06 22:31:30 +01:00
Brian Carroll
a9aee13086
test_gen: support RocResult for Wasm tests 2022-07-06 22:01:03 +01:00
Brian Carroll
617e18af98
wasm: enable remaining List tests, except 2 panics 2022-07-06 22:01:02 +01:00
Brian Carroll
f132350ef3
wasm: implement List.sortWith 2022-07-06 22:01:01 +01:00
Brian Carroll
88bcb82fef
wasm: Don't eliminate inlined low-level wrappers. Need them for indirect calls. 2022-07-06 21:59:40 +01:00
Brian Carroll
86cb50ed09
test_gen: fix some list tests for 32-bit targets 2022-07-06 21:59:40 +01:00
Brian Carroll
e5e56a7795
wasm: Implement List.prepend 2022-07-06 21:59:37 +01:00
Richard Feldman
42a110dc6b
clippy 2022-07-06 16:51:25 -04:00
Richard Feldman
176322d099
Merge pull request #3429 from rtfeldman/fix-fmt-comments
Fix some formatter comment bugs
2022-07-06 16:49:56 -04:00
Richard Feldman
82c81a7039
Allow comments after the -> in a when 2022-07-06 16:48:28 -04:00
Richard Feldman
3c9ad5b24d
Drop obsolete test 2022-07-06 16:42:54 -04:00
Richard Feldman
15932d7d47
Fix comments in when branches 2022-07-06 16:42:54 -04:00
Richard Feldman
18edf5f0d6
Fix comments in when conditionals 2022-07-06 16:42:53 -04:00
Richard Feldman
f01d6a55f7
Fix multiline_binop_conditional_with_comments 2022-07-06 16:42:53 -04:00
Richard Feldman
da8a1fb81f
Fix starts_with_newline logic 2022-07-06 16:42:53 -04:00
Richard Feldman
824de8bcc9
Rename with_inline_comment to has_line_comment_before 2022-07-06 16:42:53 -04:00
Richard Feldman
7eba683355
s/bin_op/binop/g
This is the term we use elsewhere in the compiler
2022-07-06 16:42:53 -04:00
Folkert
6e664b466f
fix merge conflict 2022-07-06 22:35:14 +02:00
Folkert de Vries
957c4258b1
Merge pull request #3409 from rtfeldman/i3224
Compile lambdas that have an empty lambda set
2022-07-06 22:22:48 +02:00
Folkert
1eee494557
format defs and ignore the spaces inbetween 2022-07-06 22:02:32 +02:00
Ayaz Hafiz
54afed12a3
Initialize capacity when storing list 2022-07-06 15:18:34 -04:00
Richard Feldman
d2476099a5
Add some tests for trailing commas in comments 2022-07-06 15:17:19 -04:00
Richard Feldman
9df5802848
Update formatter tests 2022-07-06 15:10:17 -04:00
Richard Feldman
4c5eb9b796
Ensure comments begin with space or newline 2022-07-06 15:10:17 -04:00
Richard Feldman
bd194af67c
Fix edge case in ensure_ends_in_newline 2022-07-06 15:10:17 -04:00
Richard Feldman
3195e0cff3
Improve a debug_assert! message 2022-07-06 15:10:17 -04:00
Richard Feldman
ca0b40cd9d
Use a pattern match over == 2022-07-06 15:10:16 -04:00
Richard Feldman
267bae5dec
Don't add more newlines than necessary 2022-07-06 15:10:16 -04:00
Richard Feldman
87b7a9ba3b
Update formatter tests 2022-07-06 14:01:53 -04:00
Richard Feldman
7e12171b76
roc format builtins 2022-07-06 14:00:40 -04:00
Richard Feldman
01434c8e28
Don't over-indent type alias defs 2022-07-06 13:55:45 -04:00
Richard Feldman
23a02a7a75
Don't over-indent module header collections 2022-07-06 13:46:11 -04:00
Ayaz Hafiz
194d92ceea
Remove duplicate definition 2022-07-06 13:12:18 -04:00
Ayaz Hafiz
89e356b5eb
Ambient lambda set unification means we can have nice things again 2022-07-06 13:08:59 -04:00
Ayaz Hafiz
640ca78bc5
Simplify the lambda set instantiation process 2022-07-06 13:08:59 -04:00
Ayaz Hafiz
ae7ad36d60
Import ambient functions into storage subs properly 2022-07-06 13:08:59 -04:00
Ayaz Hafiz
6c79efa43a
Add comment 2022-07-06 13:08:58 -04:00
Ayaz Hafiz
a2906995e0
Replace flex vars with lambda set vars during type_to_var 2022-07-06 13:08:58 -04:00
Ayaz Hafiz
44ecb13033
Remove dead comment 2022-07-06 13:08:58 -04:00
Ayaz Hafiz
f3e16b5460
Ignore some deriver tests for now 2022-07-06 13:08:58 -04:00