Folkert
10aa4f58c9
WIP
2023-07-30 20:41:33 +02:00
Ayaz Hafiz
016862ca28
Fix types
2023-07-12 17:52:05 -05:00
Ayaz Hafiz
cb56872566
Add initial tests
2023-07-12 14:46:36 -05:00
Ayaz Hafiz
f2f80f390d
Add erasure llvm test
2023-07-12 14:43:25 -05:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
...
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Ayaz Hafiz
60c98ea5d5
Stray clippy ignore
2023-07-12 13:53:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Kiryl Dziamura
c90c399751
Test closure definition with parens around
2023-07-04 10:24:09 +02:00
Folkert
8738c95d6f
give 0
as a value to our enum attributes
2023-06-27 00:07:33 +02:00
Folkert
26308f1dae
reformat test
2023-06-24 14:49:56 +02:00
Folkert
c38f8bec75
fix llvm gen tests
2023-06-24 14:49:56 +02:00
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