Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes
2022-02-28 19:12:18 +01:00
Anton-4
b5d8ab7d6f
cleanup
2022-02-28 18:26:55 +01:00
Anton-4
5f865a4a0c
fmt
2022-02-28 18:18:41 +01:00
Brendan Hansknecht
b53a53adbd
fix list get unsafe
2022-02-28 09:11:36 -08:00
Anton-4
6acd2f338b
successful cargo build on windows
2022-02-28 18:11:14 +01:00
Brendan Hansknecht
3b77f5c235
fix stack size being too small in branches
2022-02-28 08:41:21 -08:00
Brendan Hansknecht
90e44003fc
fix infinite looping
2022-02-28 08:17:34 -08:00
Folkert de Vries
f30c07edd0
Merge pull request #2604 from rtfeldman/early-exhaustiveness-checking
...
Move out exhaustiveness checking to its own crate
2022-02-28 14:44:42 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors
2022-02-28 13:48:11 +01:00
Brendan Hansknecht
442d0e3bff
expand arg support
2022-02-28 01:03:31 -08:00
Brendan Hansknecht
20e792c174
fix pointer cast
2022-02-28 00:53:57 -08:00
Brendan Hansknecht
151b5c9336
generate nested rc procs
2022-02-28 00:49:28 -08:00
Brendan Hansknecht
06c3376577
fix some storage issues around jumps
2022-02-28 00:05:12 -08:00
Brendan Hansknecht
069361a07e
first attempt at List.replace in the dev backend
2022-02-27 22:02:47 -08:00
Brendan Hansknecht
a5ce124bd3
Merge branch 'list-replace' into gen-dev/quicksort2
2022-02-27 20:42:45 -08:00
Richard Feldman
b5c05ea5a4
Merge pull request #2605 from rtfeldman/minor-cleanup
...
Minor cleanup
2022-02-27 23:28:26 -05:00
Richard Feldman
71d9a384f4
Merge pull request #2601 from rtfeldman/wasm-repl-history
...
repl_www: use up and down arrows to navigate input history
2022-02-27 22:26:29 -05:00
Richard Feldman
8ec7b26a1c
Merge pull request #2547 from rtfeldman/simplify-editor
...
simplify editor
2022-02-27 21:43:09 -05:00
Richard Feldman
ef28dbad84
Drop unnecessary extern declaration
2022-02-27 21:08:08 -05:00
Richard Feldman
696ec3c83e
zig fmt
2022-02-27 21:07:36 -05:00
ayazhafiz
a62fd31ab6
Fix new clippy warnings
2022-02-27 20:41:07 -05:00
ayazhafiz
27a50a3e6b
exhaustive_wrap -> exhaustive
2022-02-27 20:30:13 -05:00
ayazhafiz
b9a29bdb16
Make exhaustive checking its own crate
...
Prepares for moving exhaustiveness checking to the closer typechecking
phase. Doing this one step at a time so that git preserves the rename.
2022-02-27 20:28:25 -05:00
Brian Carroll
8d484e8c9e
wasm: tests read panic message from a global pointer
2022-02-28 00:53:01 +00:00
Brian Carroll
4e7c1fe5e1
wasm: simplify ElementSection
2022-02-27 23:58:02 +00:00
Brendan Hansknecht
2ca1ebdd2d
appease the paperclip
2022-02-27 15:50:19 -08:00
Brian Carroll
7958158d89
wasm: comments & renaming
2022-02-27 23:42:05 +00:00
Brendan Hansknecht
457ba524aa
fix tests and alias analysis
2022-02-27 15:20:54 -08:00
Brendan Hansknecht
2e70bb8458
remove list set low level
2022-02-27 15:07:09 -08:00
Brian Carroll
7ccc5ec768
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error
2022-02-27 22:57:23 +00:00
Brian Carroll
36bb59d9f8
repl_www: use up and down arrows to navigate input history
2022-02-27 22:39:52 +00:00
hafiz
d334ea301d
Merge pull request #2600 from rtfeldman/solve-worklist
...
Transition `solve` to use a worklist rather than always recursing
2022-02-27 17:36:25 -05:00
Joshua Warner
3db961106e
Remove now failing tests
2022-02-27 14:16:06 -08:00
Folkert
81e45b1e2f
make List.set use List.replace under the hood
2022-02-27 22:47:26 +01:00
Folkert
78fe734113
change the return type of List.replace
2022-02-27 22:47:08 +01:00
ayazhafiz
01da425851
Simplify solve worklist substantially
2022-02-27 16:41:31 -05:00
Richard Feldman
44e14e2bc2
Merge pull request #2599 from rtfeldman/str-parse-updates
...
Revise `Str` parsing primitives
2022-02-27 16:39:20 -05:00
ayazhafiz
69953c74ad
Fix missing test annotation
2022-02-27 15:51:27 -05:00
ayazhafiz
56d4dc3480
Transition solve
to use a worklist rather than always recursing
...
This should unblock some of @folkertdev's work on transitioning builtins
to pure Roc code. It's not perfect yet (we still make some recursions),
but it's a step, and it should avoid recursing on `Let`
`ret_constraint`s, which caused stack overflows when they became really
long before.
2022-02-27 15:51:19 -05:00
Richard Feldman
84ada96b63
Revise Str parsing primitives
2022-02-27 15:30:27 -05:00
Brian Carroll
dcf3c052af
Merge pull request #2594 from rtfeldman/wasm-repl-fixes
...
Wasm REPL bug fixes
2022-02-27 18:40:47 +00:00
hafiz
66278515d6
Merge pull request #2560 from rtfeldman/opaque-solve
...
Type inference and repl for opaque types
2022-02-27 13:22:32 -05:00
Brian Carroll
1c25ab515d
repl_test: skip wasm validation for the compiler
2022-02-27 17:39:29 +00:00
ayazhafiz
cf628ed4ef
Fix clippy warning
2022-02-27 12:21:20 -05:00
Brian Carroll
86aec0dbe2
Earthfile: move wasm REPL test command back to the script
2022-02-27 17:03:39 +00:00
ayazhafiz
39b0857049
Merge branch 'opaque-solve' of https://github.com/rtfeldman/roc into opaque-solve
2022-02-27 12:02:05 -05:00
ayazhafiz
720b7b49d2
Improve error pattern and fix tests
2022-02-27 12:01:12 -05:00
Folkert
fb717b4f55
fix merge conflict
2022-02-27 14:08:47 +01:00
Brian Carroll
07748b2b86
builtins: change mv
to cp
to prevent wasm build from crashing
2022-02-27 12:40:04 +00:00
Brian Carroll
8290fbfb1b
Earthfile: override RUSTFLAGS when building wasm target
2022-02-27 12:33:32 +00:00