Commit graph

7385 commits

Author SHA1 Message Date
Folkert
53962a4799
mark infer variables as flex 2022-03-05 17:27:33 +01:00
Folkert
0285a1b0ea
cleanup 2022-03-05 16:41:29 +01:00
Folkert
cd203d20a3
also remove clones for Body 2022-03-05 16:12:19 +01:00
Folkert
87e1b5bba6
formatting 2022-03-05 15:53:24 +01:00
Folkert
06ff93cace
Revert "remove clones in most cases in can/def"
This reverts commit 5e48577d29.
Will put it into a separate PR
2022-03-05 15:50:41 +01:00
Folkert
b421df2a28
transform TypedDef to use fewer clones 2022-03-05 15:50:00 +01:00
Folkert
5e48577d29
remove clones in most cases in can/def 2022-03-05 15:32:55 +01:00
Folkert
80956061dd
fix formatting bug in type pretty-print 2022-03-05 15:03:59 +01:00
Folkert
48b0bbe874
cleanup 2022-03-05 14:55:45 +01:00
Folkert
97b0e3df9b
more efficient approach for finding new rigids 2022-03-05 14:50:23 +01:00
Folkert
6370a80c62
make sure lambda sets within aliases are in IntroducedVariables 2022-03-05 14:29:34 +01:00
Folkert
012a2d07a6
add Inferred variables to IntroducedVariables 2022-03-05 14:27:45 +01:00
Folkert
7c83e940bd
leave a TODO 2022-03-05 13:55:30 +01:00
Folkert
d7eee71402
track lambda set variables; only use annotation variables in annotations... 2022-03-05 13:47:01 +01:00
Folkert
9302f2ca5e
partially revert to working state 2022-03-05 13:18:35 +01:00
Folkert
477fe5a48e
Merge remote-tracking branch 'origin/trunk' into instantiate-rigids-speedup-again 2022-03-05 13:12:55 +01:00
ayazhafiz
e0aa246c5e Merge remote-tracking branch 'origin/trunk' into instantiate-rigids-speedup-again 2022-03-04 21:55:16 -05:00
Folkert
d158702e1a
Merge remote-tracking branch 'origin/trunk' into take-scratchpad-bug 2022-03-05 02:15:46 +01:00
Folkert
8c321c1aa4
fix a bug with taking a scratchpad arena 2022-03-05 02:12:10 +01:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Folkert
241dc5783e
remove VariablesIter, it was unused 2022-03-05 01:37:23 +01:00
Folkert
a79f6c6cdd
restructure and add comments 2022-03-05 01:29:21 +01:00
Folkert
c7d8ae6c79
make complex case tail-recursive 2022-03-05 01:02:27 +01:00
Folkert
3a1add6ce8
add LocalDefVarsVec::from_def_types 2022-03-05 00:53:27 +01:00
Folkert
41df04184e
make the simple case tail-recursive 2022-03-05 00:26:03 +01:00
Folkert
4ca9ea0b89
refactor After 2022-03-04 23:57:41 +01:00
Pierre-Henri Trivier
1d3aa26193 Fixes #2586 2022-03-04 23:50:00 +01:00
Folkert
39c4b878e5
remove comment 2022-03-04 23:27:05 +01:00
Folkert
db06c10b5f
be smarter 2022-03-04 23:02:10 +01:00
Brian Carroll
770155312c Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-04 21:22:08 +00:00
Brian Carroll
338961d202 wasm: go back to custom bytes->string transformation
CStr version is too hard to get working correctly. I get weird test failures
with random characters in the middle of strings.
2022-03-04 19:52:27 +00:00
Brian Carroll
20e46fbda4 wasm: address PR feedback 2022-03-04 19:12:18 +00:00
Brian Carroll
f2adf71873 Move alias analysis to its own crate instead of roc_mono
Shrinks roc_repl_wasm by 400kB (~8%)
2022-03-04 14:50:02 +00:00
Brian Carroll
485cbb4bd1
Merge pull request #2635 from rtfeldman/issues-2607/multiline-input-repl
Allow multi string in RePL
2022-03-04 07:40:17 +00:00
Philippe Vinchon
b9365d06e3 Allow multi string in RePL 2022-03-03 21:15:01 +00:00
Derek Gustafson
b6ad04b0f1
Fix zig fmt error. 2022-03-03 11:14:58 -05:00
Derek Gustafson
6feac21b9b
Remove using a string as an intermediate form in Dec.fromF64. 2022-03-03 11:05:41 -05:00
Folkert
a53a5b718e
clippy 2022-03-03 10:36:18 +01:00
Folkert
3d30bcef03
store filenames out of band 2022-03-03 10:13:52 +01:00
Folkert
da89152fef
fix static assert 2022-03-03 08:32:32 +01:00
Richard Feldman
d91df42147
Merge pull request #2610 from rtfeldman/windows_fixes
`cargo build` on windows
2022-03-02 18:20:06 -05:00
Richard Feldman
364697e662
Merge pull request #2628 from rtfeldman/rust-1.58
Rust 1.58
2022-03-02 18:16:28 -05:00
Folkert de Vries
03a63cdd00
Merge pull request #2622 from rtfeldman/optimize-def-sorting
optimize def sorting
2022-03-02 23:16:01 +01:00
Folkert
760331829f
deduplicate categories 2022-03-02 22:05:38 +01:00
Folkert
d9851b5e68
fix formatting issues 2022-03-02 21:39:30 +01:00
Folkert
38d3d3169a
drop final suffixes 2022-03-02 21:30:38 +01:00
Folkert
828483393a
move expr/pattern constraint gen 2022-03-02 21:25:13 +01:00
Folkert
546afc9661
drop soa suffix 2022-03-02 21:21:37 +01:00
Folkert
0eb98a4c59
move over constraint 2022-03-02 21:19:58 +01:00
Folkert
8d2e0a738c
exploiting exactsizeiterator 2022-03-02 21:08:14 +01:00