Commit graph

7271 commits

Author SHA1 Message Date
Brian Carroll
ad5da76588 wasm: fix remaining tests for capacity 2022-03-11 19:20:57 +00:00
Brian Carroll
38b8c45b23 wasm: fix Str decoding in tests 2022-03-11 19:07:18 +00:00
Brian Carroll
e4829b5b85 mono: Update Str refcount helpers to account for capacity field 2022-03-11 08:34:27 +00:00
Brian Carroll
a9e0ff6b4b wasm: update small string tests to expect 12 bytes 2022-03-11 08:34:27 +00:00
Brian Carroll
4878c701ae Fix Zig builtins for 32-bit targets 2022-03-10 23:26:58 +00:00
Brian Carroll
20f6330f72 wasm: Fix Str.isEmpty for capacity 2022-03-10 06:59:15 +00:00
Brian Carroll
0c6fef0ba3 wasm: Generate Str literals with capacity 2022-03-09 21:18:30 +00:00
Folkert
19c46916d9
fix zig string tests
mostly, strings that were small before are now not, so I had to increase the string lengths
2022-03-09 19:25:51 +01:00
Folkert
82dddf4c3a
add capacity field to make tests compile 2022-03-09 19:21:11 +01:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-09 14:36:34 +01:00
Anton-4
ba5d47d270
Merge branch 'trunk' of github.com:rtfeldman/roc into roc_fmt_fixes 2022-03-08 13:57:20 +01:00
Anton-4
dd85caa85a
removed redundant derefs 2022-03-08 13:56:43 +01:00
Brian Carroll
70804e9bec Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-08 08:58:15 +00:00
Brian Carroll
7e0b439ef5 test_gen: add missing #[test] attribute 2022-03-08 08:57:52 +00:00
Brian Carroll
9ae26c5aac wasm: use __data_end to account for all constant data including zero (bss) data 2022-03-08 08:56:34 +00:00
Brian Carroll
4d14fbf562 wasm: use a debug-friendly enum for refcount tests 2022-03-08 07:43:01 +00:00
Jan Van Bruggen
a2f2434d71 Rename hello-world to hello-c 2022-03-07 19:59:30 -07:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Derek Gustafson
c65e3d2bae
Fix how dec is formatted in mono ir. 2022-03-07 16:17:59 -05:00
Derek Gustafson
78cf0b8d2e
Fix fmt. 2022-03-07 15:49:09 -05:00
Derek Gustafson
ba6b225761
Hide RocDec implemntation details. 2022-03-07 15:34:02 -05:00
Brian Carroll
eaf76aa879 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-07 20:02:44 +00:00
Brian Carroll
92ace8ff67
Merge pull request #2626 from rtfeldman/gen-dev/quicksort2
Gen dev - Quicksort
2022-03-07 17:46:46 +00:00
Anton-4
0637344361
cleanup 2022-03-07 18:16:17 +01:00
Anton-4
d8b4feb659
fmt+clippy 2022-03-07 16:24:30 +01:00
Anton-4
21a30b1e83
fixed indentation for apply args 2022-03-07 16:23:15 +01:00
Folkert de Vries
ce1839133b
Merge pull request #2661 from rtfeldman/i/2541
Report invalid extension types during canonicalization
2022-03-07 16:12:04 +01:00
Anton-4
454933e2c6
fixed unnecessary double indentation 2022-03-07 16:02:11 +01:00
Richard Feldman
19cc7fdcaa
Merge pull request #2658 from rtfeldman/newline
Tests for trailing newline formatting
2022-03-07 08:34:20 -05:00
Brendan Hansknecht
2b3545233a switch storage manager to default clone 2022-03-06 22:56:49 -08:00
Brendan Hansknecht
02e7cf016b fix jumps with primitive arguments 2022-03-06 22:52:25 -08:00
Brendan Hansknecht
611c5a69cb remove commented line 2022-03-06 22:32:11 -08:00
Brendan Hansknecht
d4c4b41997 Merge branch 'trunk' into gen-dev/quicksort2 2022-03-06 21:19:51 -08:00
ayazhafiz
01255a17d5 Remove unnecessary reference 2022-03-06 22:19:45 -05:00
ayazhafiz
47e4904075 Chase aliases when checking for valid extension types 2022-03-06 22:17:58 -05:00
ayazhafiz
aae5a46034 Fmt 2022-03-06 22:17:22 -05:00
ayazhafiz
eed7e3df71 Report invalid extension types during canonicalization
Closes #2541
2022-03-06 22:17:22 -05:00
Folkert
ba2f9ba779
Merge remote-tracking branch 'origin/trunk' into content-flattype-copy 2022-03-06 20:52:04 +01:00
Folkert de Vries
27f367ec23
Merge pull request #2656 from rtfeldman/type-to-var-tco
Optimize type_to_variable
2022-03-06 20:44:14 +01:00
Folkert
836967b919
some other clippy things in tests 2022-03-06 19:07:38 +01:00
Folkert
a9c8e2dc3e
copy instead of clone Content 2022-03-06 19:07:18 +01:00
hafiz
de9da2d8a5
Merge pull request #2657 from rtfeldman/i/2567
Register accessor closures when they are bound
2022-03-06 12:59:55 -05:00
Folkert
1ff8261a66
make Content Copy 2022-03-06 18:51:23 +01:00
Folkert
29bf4195a1
make FlatType Copy 2022-03-06 18:15:26 +01:00
Folkert
41e56519ef
prevent a subs lookup by reserving a Variable 2022-03-06 18:00:25 +01:00
hafiz
cc5c734c20
Merge pull request #2603 from rtfeldman/exhaustiveness-fixes
Exhaustiveness checking with guard
2022-03-06 11:26:55 -05:00
Richard Feldman
a8eff47f87
Use len_utf8 over hardcoded 1
This will compile to the same thing but makes the reason
for the addition more self-documenting.
2022-03-06 11:26:48 -05:00
Richard Feldman
2a6a197fdf
Merge pull request #2653 from rtfeldman/def-types-tweaks
Def types tweaks
2022-03-06 11:25:37 -05:00
ayazhafiz
cc8c945762 Remove stray dbg 2022-03-06 11:16:03 -05:00
Richard Feldman
49fcd03941
Test trailing newline logic 2022-03-06 11:12:43 -05:00