Commit Graph

16535 Commits

Author SHA1 Message Date
Anton-4
e827dbd1a8
try out cachix 2022-06-24 18:03:32 +02:00
Anton-4
7aa04f957b
remove lldb from flake (was added by accident) 2022-06-24 15:05:57 +02:00
Anton-4
d704b9350c
added macOS x86_64 test workflow 2022-06-24 13:30:21 +02:00
Richard Feldman
8c66a0e53a
Add Patrick Kilgore to AUTHORS 2022-06-23 20:00:46 -04:00
Ayaz
80d2a86eff
Merge pull request #3309 from rtfeldman/pckilgore/472-unwrap-Num-internals-in-reporting
fix(reporting): print Num.(Floating->Frac, Integer->Int)
2022-06-23 19:07:51 -04:00
Ayaz
cd1f76aaab
Merge pull request #3306 from rtfeldman/collect-specialization-lambda-sets-during-unification
Collect specialization lambda sets during unification
2022-06-23 17:53:46 -04:00
Folkert de Vries
92a1750e82
Merge pull request #3301 from rtfeldman/i3261
Make sure to unwrap non-nullable unwrapped unions directly in alias analysis
2022-06-23 23:25:04 +02:00
Patrick Kilgore
faa6fc8b62
fix(reporting): print Num.(Floating->Frac, Integer->Int) 2022-06-23 14:31:45 -05:00
Folkert de Vries
507ebe3ed3
Merge pull request #3303 from rtfeldman/copy-table
Use copy table for importing variables from storage subs
2022-06-23 21:18:10 +02:00
ayazhafiz
d3f8734af8
Correct ability unification failure order 2022-06-22 23:42:20 -04:00
ayazhafiz
aa9fbb7cd2
Remove stray debug 2022-06-22 23:40:59 -04:00
Ayaz Hafiz
d1bec6952c
Remove unused import 2022-06-22 18:13:09 -04:00
Ayaz Hafiz
eb1f62dbf3
Collect specialization lambda sets during unification rather than solve 2022-06-22 18:10:47 -04:00
Ayaz Hafiz
328eea8b25
Add extra metadata parameter to unification 2022-06-22 17:19:01 -04:00
Richard Feldman
4859f77f6f
Merge pull request #3255 from rtfeldman/bindgen-list-fix
Fix bindgen of `List` of non-builtin elements
2022-06-22 17:13:50 -04:00
Richard Feldman
19d0f8fa34
Merge remote-tracking branch 'origin/trunk' into bindgen-list-fix 2022-06-22 16:32:53 -04:00
Richard Feldman
76185f372d
Merge pull request #3248 from rtfeldman/package-config
Replace Package-Config.roc with non-hardcoded name
2022-06-22 16:28:53 -04:00
Richard Feldman
e800c26cfe
Merge remote-tracking branch 'origin/trunk' into package-config 2022-06-22 15:20:21 -04:00
Richard Feldman
81c2d70075
Merge pull request #3302 from rtfeldman/bindgen-masked-pointer-fixes
bindgen masked pointer fixes
2022-06-22 14:55:59 -04:00
Anton-4
7377771bcc
update editor for new platform naming convention 2022-06-22 20:21:32 +02:00
Ayaz Hafiz
6e536ee783
Use copy table for importing variables from storage subs
This avoids having to taking the subs-being-imported-from as mutable.
2022-06-22 14:10:01 -04:00
Ayaz Hafiz
f9ce978af8
Make sure to unwrap arguments to builtin types correctly 2022-06-22 13:21:15 -04:00
Ayaz Hafiz
6a64a2b77f
Revert "bindgen RocList of a userspace type"
This reverts commit aa0c3ea2fe.
2022-06-22 13:21:08 -04:00
Folkert
8b036ea1c5
for recursive tags
1) allocate with space for the refcount
2) untag the pointer before looking at the refcount
2022-06-22 19:04:02 +02:00
Ayaz Hafiz
2079a64cb7
Make sure to unwrap non-nullable unwrapped unions directly in alias analysis
Non-nullable unwrapped tag unions are represented directly as the type
of their singleton variant in morphic. Other recursive tag unions are
something like `(heap_cell, union [A, B (<rec>)])` for recursive union
`[A, B (<rec>)]`, but a non-nullable unwrapped tag union `[ Foo Str <rec> ]`
is represented directly as the tuple `(Str <rec>)`. Make sure we don't
try to unwrap a non-existent heap cell and union data for such type
representations.

Closes #3261
2022-06-22 12:36:37 -04:00
Folkert
dffa220641
swap so we error early 2022-06-22 17:42:51 +02:00
Ayaz Hafiz
fdba8b26d4
Add test for types of destructed recursive alias in issue 2022-06-22 11:16:42 -04:00
Folkert de Vries
69ab681f9c
Merge pull request #3256 from rtfeldman/i3230
Soundness bugs related to inference variables within recursive def annotations
2022-06-22 13:11:23 +02:00
Folkert de Vries
f206194d1f
Merge pull request #3278 from rtfeldman/wasm-more-lowlevels
Implement more Num lowlevels in Wasm
2022-06-22 13:06:11 +02:00
Folkert de Vries
7203031c9f
Merge pull request #3283 from rtfeldman/JanCVanB-patch-1
Fix argument order in `List.sublist` examples
2022-06-22 12:51:32 +02:00
Brian Carroll
37395a00ef
wasm: add support for NumToIntChecked 2022-06-22 00:27:38 +01:00
Brian Carroll
7a050949ef
wasm: support 128-bit numbers as arguments to Roc procedures 2022-06-22 00:27:38 +01:00
Brian Carroll
f5b46bf650
wasm: implement sin, cos, tan, sqrt, log, and pow 2022-06-21 23:59:38 +01:00
Richard Feldman
72281e34d1
Merge pull request #3277 from rtfeldman/fix-doc-comment-not-rendering
fix doc comment rendering
2022-06-21 16:06:06 -04:00
Richard Feldman
e29a4af21f
Don't print scope when auto-linking fails 2022-06-21 15:13:19 -04:00
Richard Feldman
0e96dd9d73
Fix some broken auto-links in builtin docs 2022-06-21 15:13:05 -04:00
Anton-4
20c372236d
Merge pull request #3285 from rtfeldman/mac-os-getting-started
updated getting started for MacOS
2022-06-21 17:21:55 +02:00
Anton-4
90335fe3f9
changed nightly date format 2022-06-21 15:45:50 +02:00
Anton-4
0e131c6722
updated getting started for MacOS 2022-06-21 14:20:08 +02:00
Jan Van Bruggen
44c52db6c3
Fix argument order in List.sublist examples 2022-06-21 01:55:00 -06:00
Brian Carroll
d6757ea7b0
Merge pull request #3279 from rtfeldman/windows_build_fixes
fix non-linking cargo build error on windows
2022-06-20 23:03:37 +01:00
Richard Feldman
0b94ac9429
Merge pull request #3257 from rtfeldman/apple_silicon_nightly
apple silicon nightly workflow
2022-06-20 15:21:33 -04:00
Brian Carroll
ea6f73c3c8
Remove an .obj file added before they were ignored 2022-06-20 18:35:46 +01:00
Anton-4
4d8317dbbb
clippy fix 2022-06-20 20:13:45 +02:00
Anton-4
10d6906264
fmt 2022-06-20 19:52:28 +02:00
Anton-4
1915604109
ignore .obj files 2022-06-20 19:52:05 +02:00
Anton-4
67629f8908
fix non-linking cargo build errors on windows 2022-06-20 17:21:28 +02:00
Anton-4
ff9980d5ad
removed unnecessary concurrency group from nightly workflow 2022-06-20 15:07:46 +02:00
Richard Feldman
033efe33e5
Merge pull request #3228 from rtfeldman/illegal_instruction_PENTIUM_N3700
WIP don't require avx, avx2, sse, sse4.2 on all x86-64
2022-06-20 08:32:14 -04:00
Anton-4
4e6c4d9685
Merge branch 'trunk' of github.com:rtfeldman/roc into apple_silicon_nightly 2022-06-20 14:15:05 +02:00