Commit Graph

24361 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
Ayaz
5dff66ae16
Merge pull request #5308 from roc-lang/i5303
Support underscores in Dec numbers
2023-04-19 17:23:55 -05:00
Ayaz Hafiz
59e01679c8
Drop unused 2023-04-19 14:35:20 -05:00
Ayaz Hafiz
c497641e63
Support underscores in Dec numbers
Closes #5303
2023-04-19 14:35:20 -05: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
Richard Feldman
be290c8fc0
Merge pull request #5302 from roc-lang/ditch-mac-ld-arg
try leaving out no_fixup_chains ld arg
2023-04-19 08:01:45 -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
Folkert de Vries
c9cb4adaeb
Merge pull request #5299 from roc-lang/wasi-write-all
Make WASI use write_all instead of write, and handle IO errors
2023-04-18 18:59:19 +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
23180b83bf
dropped glue 2023-04-18 09:03:26 +02:00
Brian Carroll
229c88d4dd
Make WASI use write_all instead of write, and handle IO errors 2023-04-18 08:02:58 +01: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
4cfbd295b7
Merge pull request #5296 from roc-lang/wasm-rc-alignment
Wasm rc alignment
2023-04-18 00:15:33 +02:00
Folkert de Vries
8f717e04c8
Merge pull request #5293 from roc-lang/wasi-fdstat
implement fd_fdstat_get
2023-04-18 00:14:32 +02:00
Brian Carroll
0cf42231d6
Fix WASI fd_write in the Wasm interpreter 2023-04-17 22:24:52 +01:00
Ayaz
6e0d6bcdcc
Merge pull request #5282 from roc-lang/i5191
Correct repl evaluation of toplevel numbers
2023-04-17 12:01:46 -05: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
Folkert
2480dbbf1f
implement fd_fdstat_get 2023-04-15 16:05:50 +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
Ayaz Hafiz
250f4ea046
Correct repl evaluation of toplevel numbers
Closes #5191
2023-04-13 10:48:46 -05: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
526cd25611
Merge pull request #5284 from roc-lang/i5131
Handle record updates of imported module thunks
2023-04-12 17:08:01 -05:00
Ayaz
728db00466
Merge pull request #5280 from roc-lang/i5094
Improve error message when opaque wrapping a function is applied directly
2023-04-12 16:57:53 -05:00
Ayaz
b00adf4f67
Merge pull request #5281 from roc-lang/i5140
Add reproducer for bug that's fixed now
2023-04-12 16:57:07 -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