Commit graph

25106 commits

Author SHA1 Message Date
HajagosNorbert
fe2e175d0f
add examples to builtin List 2023-06-13 20:12:32 +02:00
HajagosNorbert
232e9030ae
Add docs to List.get with example 2023-06-13 20:12:29 +02:00
Folkert de Vries
79e9ba3dd1
Merge pull request #5529 from JTeeuwissen/joinpoint-specialisation
Joinpoint specialisation
2023-06-13 18:42:02 +02:00
Richard Feldman
07dfa5e371
Merge pull request #5541 from roc-lang/always-build-roc
ensure we always build roc when running via the helper for tests
2023-06-11 22:25:48 -04:00
Brendan Hansknecht
9713a8d151
spell check 2023-06-11 11:06:11 -07:00
Brendan Hansknecht
b896f70ddc
ensure we always build roc when running via the helper for tests 2023-06-11 10:59:05 -07:00
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
Brendan Hansknecht
adcdfdbd46
Merge pull request #5538 from tjlaxs/gen-dev-num-mul-wrap
Move old num_mul to num_mul_wrap and use that from num_mul
2023-06-11 04:05:55 +00:00
Folkert
ed3551a14c
make more mono tests use larger stack 2023-06-10 23:58:42 +02:00
Folkert
92194be436
use retain to save on some allocations 2023-06-10 23:55:15 +02:00
J.Teeuwissen
86797a9515
typo 2023-06-10 23:55:14 +02:00
J.Teeuwissen
fbf3faeaf1
Simplified logic 2023-06-10 23:55:14 +02:00
J.Teeuwissen
46bff75517
progress 2023-06-10 23:55:09 +02:00
J.Teeuwissen
d735742fdb
used resulting incremented_symbols 2023-06-10 23:54:00 +02:00
J.Teeuwissen
94fb89bde4
Start drop specialisation for joinpoints 2023-06-10 23:53:19 +02: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
47a78a8f24
Fix failing test due to Num.min now being suggested for Num.if
Contributes to #5533
2023-06-09 17:30:53 +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
Luke Boswell
7328ecc3e7
remove accidental addition 2023-06-08 19:30:53 +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
Ayaz
d1d59ce2ea
Merge pull request #5435 from AjaiKN/better-underscore-errors
Improve some error messages involving ignored variables
2023-06-06 20:44:41 -05: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