Commit graph

845 commits

Author SHA1 Message Date
Folkert
e19f0ae6d6
don't capture from outside join point for the dev backend 2023-06-24 14:49:55 +02:00
Folkert
284fd3ee6c
disable dev test for now 2023-06-24 14:49:54 +02:00
Folkert
b9b486e4b0
clean up linked_list_trmc test 2023-06-24 14:49:50 +02:00
Folkert
51f3752c94
wasm backend struggles 2023-06-24 14:49:47 +02:00
Hannes
97fa6758d0 Rename trimLeft to trimStart and trimRight to trimEnd 2023-06-19 13:17:59 +08:00
Ayaz Hafiz
41597cbab7
Do not make LayoutInterner mutable 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
bc41db2a34
Get rid of passing target_info a bunch 2023-06-17 18:13:00 -05:00
Ayaz Hafiz
858fbba4e1
Use larger debug stack for abilities tests 2023-06-16 11:08:10 -05:00
Ayaz Hafiz
879a97ee4c
Fix compare for big structs 2023-06-16 10:30:41 -05:00
Ayaz Hafiz
65ca836ecb
layout_interner does not need to be mutable 2023-06-16 10:30:41 -05:00
Ayaz Hafiz
00945ff2eb
Always print llvm on failure 2023-06-16 10:30:40 -05:00
Ayaz Hafiz
e1c874ac23
More larger stack 2023-06-16 10:30:39 -05:00
Ayaz Hafiz
cc2599b473
Use larger stack for abilities test 2023-06-16 10:30:39 -05:00
Folkert de Vries
b3c598fcf6
Merge pull request #5539 from roc-lang/dev-gen-primitives
dev backend: de-duplicate function names based on the lambda set
2023-06-13 22:13:34 +02:00
Folkert
2eaf158053
fix register not cleared before reading bool 2023-06-11 15:29:20 +02:00
Folkert
cb5241380f
enable more dev backend tests 2023-06-11 13:39:44 +02:00
Folkert
728f982aa5
dev backend NumCompare 2023-06-11 13:39:42 +02:00
Fábio Beirão
91580b62cd
Adjust the tests to use i64 instead o i8
For some reason with i8, wasm would error with "ERROR: I found a type mismatch at file offset 0x3aa5. Expected I32, but found I64."
2023-06-09 19:52:19 +02:00
Fábio Beirão
ec94fc87a5
Add Num.min and Num.max
Implements #5533
2023-06-09 14:17:54 +02:00
Folkert de Vries
2faa0e4c5b
Merge pull request #5499 from roc-lang/dev-backend-recursive-tag-unions
Dev backend recursive tag unions
2023-06-09 14:02:37 +02:00
Richard Feldman
20231cd7b9
Merge pull request #5488 from lukewilliamboswell/remove-json
Remove json from builtins - Part 1
2023-06-09 00:46:58 -04:00
Richard Feldman
351a8bffe4
Merge pull request #5524 from roc-lang/i5482
Correctly compile add/sub/mulChecked for Dec
2023-06-08 23:45:06 -04:00
Luke Boswell
8583c4cae4
update new test 2023-06-09 13:09:28 +10:00
Luke Boswell
15b7b62c4f
merge remote/main, fix merge conflicts, update mono 2023-06-08 19:41:53 +10:00
Ayaz Hafiz
95e2fc3b03
Disable tests on dev for now 2023-06-07 11:52:50 -05:00
Folkert
52e71b5d01
work around dev backend issue with returning static strings? 2023-06-07 12:53:27 +02:00
Folkert
e7791443e6
impl and tests for big recursive tag unions 2023-06-07 12:53:25 +02:00
Folkert
515d60a138
many extra gen_primitives tests for gen-dev 2023-06-07 12:52:33 +02:00
Folkert
ea2a016fd0
small recursive unions, too 2023-06-07 12:51:11 +02:00
Folkert
27ccf4a6b3
implement nonnullableunwrapped 2023-06-07 12:50:27 +02:00
Ayaz
c7f5007cd8
Merge pull request #5400 from roc-lang/semantic-layouts-for-newtypes
Implement semantic layouts for newtypes
2023-06-07 05:39:20 -05:00
Luke Boswell
092676c4b7
Merge remote-tracking branch 'remote/main' into remove-json 2023-06-07 15:38:01 +10:00
Ayaz Hafiz
3a25ec5322
Correctly compile mulChecked for Dec 2023-06-06 17:48:42 -05:00
Ayaz Hafiz
25f3190d33
Correctly compile subChecked for Dec 2023-06-06 17:48:42 -05:00
Ayaz Hafiz
b3966a588a
Fix compilation of addChecked for Dec 2023-06-06 17:48:41 -05:00
Ayaz Hafiz
7df3d191d5
Update ability tests 2023-06-06 16:05:13 -05:00
Ayaz Hafiz
1b9b6d89e4
Add test for specializing newtype records uniquely
Closes #5252
2023-06-06 16:04:42 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper 2023-06-06 16:03:52 -05:00
Ayaz Hafiz
100e8e34e0
Use a larger stack for a test that fails without it 2023-06-06 15:51:41 -05:00
Luke Boswell
c1ff49be6c
change just Json module name 2023-06-04 17:37:01 +10:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Folkert
f6fafdb019
nullable unwrapped for the dev backend 2023-06-01 00:02:38 +02:00
Folkert
0ace44ae8c
implement reset/reuse in the dev backend 2023-05-31 23:57:38 +02:00
Folkert
dfed7b95e6
enable more tests 2023-05-31 23:57:37 +02:00
Folkert
c24312a045
fix logic error 2023-05-31 23:57:37 +02:00
Folkert
e33c2b3c84
first working linked list test 2023-05-31 23:57:36 +02:00
Tero Laxström
17be5a6fd1
Fix typo in gen-dev for float_add_overflow test 2023-05-31 20:52:10 +03:00
Ayaz Hafiz
5c43c0c91b
Gen test for hash Dec 2023-05-26 11:38:30 -05:00
Ayaz Hafiz
5abf121efe
Correct tag ID matching of nullable wrapped tags 2023-05-24 12:42:15 -05:00
Ayaz Hafiz
bbcd9c3a52
Debug LLVM IR in tests 2023-05-24 12:41:54 -05:00