Commit graph

4415 commits

Author SHA1 Message Date
Richard Feldman
f431a2c576
Merge pull request #5534 from fdbeirao/add-min-max
Add Num.min and Num.max
2023-06-11 11:28:17 -04:00
Tero Laxström
f0741ca5d2
Formatting all code with cargo fmt --all 2023-06-10 18:29:17 +03:00
Tero Laxström
fcbe177c07
Move old num_mul to num_mul_wrap and use that from num_mul 2023-06-10 15:36:29 +03: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
250c50e018
Update the test_mono/generated folder 2023-06-09 18:09:37 +02:00
Fábio Beirão
d7f03a680e
Run roc format on builtins
Contributes to #5533
2023-06-09 16:07:14 +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
Luke Boswell
4bb0f4c2d0
update uitest failure 2023-06-08 19:34:52 +10:00
Ayaz Hafiz
95e2fc3b03
Disable tests on dev for now 2023-06-07 11:52:50 -05:00
Folkert
f28aeb8dbf
fix renamed function 2023-06-07 12:55:27 +02:00
Folkert
52e71b5d01
work around dev backend issue with returning static strings? 2023-06-07 12:53:27 +02:00
Folkert
7546726866
use existing base pointer constant 2023-06-07 12:53:26 +02:00
Folkert
e7791443e6
impl and tests for big recursive tag unions 2023-06-07 12:53:25 +02:00
Folkert
f5578e71b6
movzx function return values, to clear upper bits in zig function results 2023-06-07 12:52:35 +02:00
Folkert
515d60a138
many extra gen_primitives tests for gen-dev 2023-06-07 12:52:33 +02:00
Folkert
0e43510103
fix struct equality using pointer equalty ?! 2023-06-07 12:51:15 +02:00
Folkert
140a294460
never switch on a float 2023-06-07 12:51:15 +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
Ayaz
c3edc8db07
Merge pull request #5525 from roc-lang/i5480
Compile dbgs that appear in expects
2023-06-07 05:13:02 -05:00
J.Teeuwissen
36f90c05e2
updated Stmt::Dbg 2023-06-07 08:34:36 +02:00
Luke Boswell
092676c4b7
Merge remote-tracking branch 'remote/main' into remove-json 2023-06-07 15:38:01 +10:00
Ajai Nelson
2e5fef5231
Improve error messages involving ignored variables
Fix #3987
2023-06-06 19:46:15 -04:00
Ayaz Hafiz
81a62d3ef9
Clippy 2023-06-06 18:09:07 -05:00
Ayaz Hafiz
43259b9ad6
Compile dbgs that appear in expects
Closes #5480
2023-06-06 18:07:34 -05:00
Ayaz
10dd57d45d
Merge pull request #5511 from roc-lang/print-codegen-info
Differentiate generating final IR and dumping it to an object in cgen
2023-06-06 17:49:36 -05: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
80a98668d5
Fix type errors 2023-06-06 16:07:51 -05:00
Ayaz Hafiz
7df3d191d5
Update ability tests 2023-06-06 16:05:13 -05:00
Ayaz Hafiz
4e690103b0
Use larger stacks for some mono tests 2023-06-06 16:05:12 -05:00
Ayaz Hafiz
c0e52f9e54
Fix mono tests 2023-06-06 16:04:43 -05:00
Ayaz Hafiz
9187286580
Fix mono output 2023-06-06 16:04:42 -05:00
Ayaz Hafiz
1b9b6d89e4
Add test for specializing newtype records uniquely
Closes #5252
2023-06-06 16:04:42 -05:00
Ayaz Hafiz
a6b3656471
Begin generating newtype wrappers for struct layouts 2023-06-06 16:04:41 -05:00
Ayaz Hafiz
57bd0d29d6
Be sure to preserve layout wrappers during reification 2023-06-06 16:03:53 -05:00
Ayaz Hafiz
9a8d138424
eq_repr should chase under reprs 2023-06-06 16:03:53 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper 2023-06-06 16:03:52 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner 2023-06-06 16:01:27 -05:00
Ayaz Hafiz
100e8e34e0
Use a larger stack for a test that fails without it 2023-06-06 15:51:41 -05:00
Ayaz Hafiz
e2482c8b1d
Unused var 2023-06-06 15:48:01 -05:00
Richard Feldman
107c6b0777
Merge pull request #5518 from JTeeuwissen/DecRef-invalid-value_ptr
DecRef union clear tag id
2023-06-05 14:37:19 -04:00
Ayaz
f582057b34
Merge pull request #5498 from fdbeirao/nice-messages-for-https-errors
Nice messages for https errors
2023-06-05 09:39:58 -05:00