Commit Graph

3878 Commits

Author SHA1 Message Date
Ayaz Hafiz
6df0caa6ac
Handle function arity checking in nested closures 2023-04-20 10:10:52 -05:00
Ayaz Hafiz
b46392311e
Catch functions typed with too few arguments
Closes #5264
2023-04-20 10:10:50 -05:00
Folkert de Vries
8c32900e19
Merge pull request #5275 from wontem/abs_diff
Implement Num.absDiff
2023-04-20 14:02:02 +02:00
Kiryl Dziamura
2633e7ed8f
Disable 128 bit test for wasm 2023-04-20 11:55:42 +02:00
Kiryl Dziamura
e8b1d3fa24
Disable backend dev tests 2023-04-20 11:55:41 +02:00
Kiryl Dziamura
f1564458a3
Format roc 2023-04-20 11:55:40 +02:00
Richard Feldman
ef5c4735fb
Merge pull request #5258 from JTeeuwissen/Frame-Limited
Perceus style reference counting with frame limited reuse.
2023-04-19 12:38:11 -04:00
Folkert
fa6d5c6955
fix ptr returned by wasm reset 2023-04-18 21:59:13 +02:00
Folkert
cabbfa52d5
fix alignment calculation in wasm reset 2023-04-18 21:59:13 +02:00
Anton-4
bd6ae25cbc
remove undefined -dynamic_lookup
https://roc.zulipchat.com/#narrow/stream/231635-compiler-development/topic/macos.20linking.20error/near/350845837

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 19:41:01 +02:00
Anton-4
5f2d550c3d
fmt
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 17:58:11 +02:00
Anton-4
a99aba7da4
try leaving out no_fixup_chains ld arg
https://roc.zulipchat.com/#narrow/stream/231635-compiler-development/topic/macos.20linking.20error/near/350816436

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 17:52:34 +02:00
J.Teeuwissen
af3c4f01da
fix folkert NumSubSaturated 2023-04-18 13:59:06 +02:00
J.Teeuwissen
03149dfd89
match 2023-04-18 07:22:47 +02:00
J.Teeuwissen
363e2e1074
Merge branch 'main' into Frame-Limited 2023-04-18 07:19:54 +02:00
Folkert de Vries
2f42a74af3
Merge pull request #5297 from JTeeuwissen/default-branch-tag-id-unwrapped
Default branch nullable tag id
2023-04-17 14:30:36 +02:00
J.Teeuwissen
67b4efc951
special NullableId check 2023-04-17 14:27:11 +02:00
Folkert
c848a85eb4
fix index bug in recursive decrements 2023-04-17 14:22:27 +02:00
Folkert
e0b5a76a04
correct alignment calculation in RC code 2023-04-17 13:53:54 +02:00
J.Teeuwissen
c8ec17f782
drop dead join 2023-04-17 12:38:41 +02:00
J.Teeuwissen
ca45e3c9f9
replaced most iter::once 2023-04-16 19:58:28 +02:00
J.Teeuwissen
10de47db50
SymbolRcTypes two sets 2023-04-16 19:40:45 +02:00
J.Teeuwissen
f0a1842697
Resolving nitpicky ;) comments 2023-04-16 19:34:07 +02:00
J.Teeuwissen
36e83fca1c
updated tests 2023-04-16 16:34:41 +02:00
J.Teeuwissen
a4ca864fe3
fixed test 2023-04-16 13:35:35 +02:00
J.Teeuwissen
9d4c3bcfb9
undid inlining 2023-04-15 17:41:10 +02:00
J.Teeuwissen
3c5a978bbe
fixed borrow/owned 2023-04-15 14:55:40 +02:00
Richard Feldman
412e199939
Merge pull request #5266 from lukewilliamboswell/docs
Add documentation for `Decode` builtin
2023-04-14 16:46:35 -04:00
J.Teeuwissen
6ece065504
implementing feedback 2023-04-13 15:54:30 +02:00
J.Teeuwissen
5f7f9b766b
inline lowlevel in rc 2023-04-13 12:26:05 +02:00
Ayaz
77cf60b866
Merge pull request #5286 from roc-lang/i5264
Freshly instantiate nested recursion variables under aliases and opaques
2023-04-12 18:27:37 -05:00
Ayaz
8739099bdc
Merge pull request #5288 from roc-lang/i4725
Do not replace already-recursive lambda sets in occurs checks
2023-04-12 17:08:34 -05:00
Ayaz Hafiz
87a36e62bf
Do not replace already-recursive lambda sets in occurs checks
If a lambda set appears in an occurs chain but it is itself already
recursive, then it is should not be eligibil for modification in the
occurs chain.

Closes #4725
2023-04-12 16:13:30 -05:00
Ayaz Hafiz
4894587a14
Inline singly-used function 2023-04-12 14:39:50 -05:00
Ayaz Hafiz
d3ab9ab926
Freshly instantiate nested recursion variables under an opaque type 2023-04-12 14:31:19 -05:00
Ayaz Hafiz
3d6353dbd2
Add reproduction of recursion var instantiation under opaque that's failing 2023-04-12 14:14:11 -05:00
Ayaz Hafiz
40fc920b5e
Drop recursion var instantiation in the wrong spot 2023-04-12 14:12:36 -05:00
Ayaz Hafiz
677d19d825
Allow type error config in uitest 2023-04-12 14:04:51 -05:00
Ayaz Hafiz
f33651bf6a
Correctly instantiate recursion variables under nested aliases
Like we instantiate nested lambda set variables and nested OIOP
variables for aliases, we need to do the same for recursion variables.
2023-04-12 13:59:24 -05:00
Ayaz Hafiz
f2e12724d3
Add erroring reproduction of #5264 2023-04-12 13:58:13 -05:00
Ayaz Hafiz
b33393ca39
Allow configuring whether can errors are acceptable in tests 2023-04-12 13:54:26 -05:00
Ayaz Hafiz
73e5a9ed46
Remove unused branch in alias instantiation 2023-04-12 13:17:42 -05:00
Ayaz Hafiz
65911f88b1
Handle record updates of imported module thunks
Closes #5131
2023-04-12 11:39:14 -05:00
Ayaz Hafiz
bbd09fed3c
Remove redundant references 2023-04-12 11:36:06 -05:00
Ayaz Hafiz
014ec8c092
Support multiple modules in uitest 2023-04-12 11:35:33 -05:00
Ayaz Hafiz
0ec0568ef9
Drop unused function 2023-04-12 11:16:20 -05:00
Ayaz Hafiz
1afae9affd
Update emit headers 2023-04-12 10:55:56 -05:00
Ayaz Hafiz
53af6ed4eb
Offer a way to print mono IR in uitest 2023-04-12 10:52:39 -05:00
Kiryl Dziamura
7752d8dab5
Update mono IR snapshots 2023-04-12 16:15:50 +02:00
J.Teeuwissen
bcb494ca6a
dec_borrow higher order 2023-04-12 15:55:26 +02:00