ayazhafiz
efbd1bf4c7
Add unbound runtime error function var gen test
2022-07-06 12:49:02 -04:00
ayazhafiz
ab75de39d6
Fix gen for runtime error functions
2022-07-06 12:49:02 -04:00
ayazhafiz
41e63c8576
Add missing mono test
2022-07-06 12:49:02 -04:00
ayazhafiz
aa90c3dfb6
Unresolved type var for list map unbound function
2022-07-06 12:49:02 -04:00
ayazhafiz
937b73b797
Compile lambdas that have an empty lambda set
...
Closes #3224
This should also fix a number of other issues often observed when a
lambda is never actually called, but we fail to codegen because it has
an empty lambda set.
2022-07-06 12:49:01 -04:00
Folkert de Vries
b28561d1c9
Merge branch 'trunk' into dylib-roc-benchmarks
2022-07-06 18:39:16 +02:00
Folkert
c54d824950
for now, substring takes a borrowed argument
2022-07-06 17:59:49 +02:00
Folkert
36b42fb62b
use existing capacity in Str.concat if possible
2022-07-06 17:59:48 +02:00
Richard Feldman
7365da6f69
Merge pull request #3370 from rtfeldman/list-unreachable
...
List unreachable
2022-07-06 10:45:50 -04:00
Richard Feldman
c9346b0744
Merge pull request #3418 from rtfeldman/repl-expect
...
repl expect
2022-07-06 09:40:40 -04:00
Ayaz Hafiz
f940cc18c1
Consolidate calling specialized proc
2022-07-06 09:12:02 -04:00
Ayaz Hafiz
634d4c534a
Add gen test for recursive capture call
2022-07-06 09:11:02 -04:00
Ayaz Hafiz
91b89675ef
Remove commented code
2022-07-06 09:11:01 -04:00
Ayaz Hafiz
b868e0e469
Handle recursive calls to capturing function
2022-07-06 09:10:31 -04:00
Ayaz
d07c273542
Merge pull request #3402 from rtfeldman/promote-large-numbers
...
Promote large number layouts when they don't fit in I64s
2022-07-06 08:50:46 -04:00
Folkert
0d59429061
primitives in the CLI for running top-level expectations
2022-07-06 14:17:50 +02:00
Folkert
3017a14599
rename
2022-07-06 14:07:52 +02:00
Ayaz Hafiz
20a7f1f585
Remove Failure
dead code
2022-07-06 13:50:14 +02:00
Folkert
f05274faef
Merge remote-tracking branch 'origin/trunk' into remove-old-expect-logic
2022-07-06 13:03:41 +02:00
Jan Van Bruggen
0002cdf8ec
Merge pull request #3380 from rtfeldman/3377-list-range-segfault
...
Fixes `List.range` segfaulting
2022-07-06 00:59:01 -06:00
ayazhafiz
24b605a369
Wrap int properly
2022-07-05 23:16:59 -04:00
ayazhafiz
4a214fe75b
Write parens
2022-07-05 22:39:31 -04:00
ayazhafiz
e3ead18e8f
Unused var
2022-07-05 22:28:04 -04:00
ayazhafiz
5fea767411
Type ranged number as flex var
2022-07-05 22:27:30 -04:00
Ayaz Hafiz
26148b8b12
Recover default layouts for floats
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
4ef8ceef9e
Clippy
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
15afa36344
Push bound var down
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
34d2d81ca6
Remove stray dbg
2022-07-05 22:16:53 -04:00
Ayaz Hafiz
2492fba9f9
Gen tests for promoted num layouts
2022-07-05 22:16:52 -04:00
Ayaz Hafiz
ba450367ca
Choose i128/u128 num layouts when necessary
2022-07-05 22:16:52 -04:00
Ayaz Hafiz
f31f78fde1
Add test for when U64 num literal layout should be chosen
2022-07-05 22:16:52 -04:00
Ayaz Hafiz
c154a337a9
Get deep range numbers working
2022-07-05 22:16:52 -04:00
Ayaz Hafiz
5a18490050
Support ordering floats in numeric literal bounds
2022-07-05 22:16:51 -04:00
Ayaz Hafiz
1905e1815d
Detect when big number literals cannot fit into the same type
2022-07-05 22:16:49 -04:00
Folkert
a1de31d99e
Merge remote-tracking branch 'origin/trunk' into rust61
2022-07-06 01:42:50 +02:00
Folkert
3a30e77726
Merge remote-tracking branch 'origin/trunk' into list-unreachable
2022-07-06 01:38:50 +02:00
Folkert
52605fcca9
simplify string splitting LLVM codegen
2022-07-06 01:12:03 +02:00
Folkert
2455819362
startsWith/endsWith don't need ownership
2022-07-06 01:08:45 +02:00
Ayaz Hafiz
fc1617bf17
Phantom types
...
Closes #3314
2022-07-05 19:07:41 -04:00
Richard Feldman
84b11155de
Merge pull request #3405 from rtfeldman/roc-anywhere
...
Roc anywhere
2022-07-05 18:27:41 -04:00
Richard Feldman
cd2cf045fa
Merge pull request #3403 from rtfeldman/clippy-1.62
...
updates for clippy 1.62
2022-07-05 18:26:52 -04:00
Folkert de Vries
93dbda9ac5
Merge pull request #3399 from rtfeldman/pure-roc-map-with-index
...
Pure Roc `List.mapWithIndex`
2022-07-06 00:25:46 +02:00
Folkert
cd8b08dcb0
add benchmark for List.map performance
2022-07-06 00:20:20 +02:00
Folkert
2aabdaa9c8
remove debug print
2022-07-06 00:19:24 +02:00
Folkert
52d339463a
make OptLevel configurable in gen test code gen
2022-07-06 00:19:13 +02:00
Folkert
ddead4dfcc
RocCallResult::new
2022-07-06 00:18:45 +02:00
Folkert
b2b0653592
fix accepting a list as an argument in a test platform
2022-07-06 00:18:20 +02:00
Brendan Hansknecht
d9c651898b
clippy
2022-07-05 13:37:10 -07:00
Folkert
3360d9e5cd
recurse correctly
2022-07-05 22:06:49 +02:00
Brendan Hansknecht
c10ddf8594
fix accidental nested directory in lib
2022-07-05 11:12:30 -07:00