Ayaz Hafiz
28f4b1ac56
Allow lints
2022-11-14 15:15:21 -06:00
Ayaz Hafiz
a52e9d605d
Remove unneeded type storage in constraining
2022-11-14 15:15:21 -06:00
Ayaz Hafiz
5564796927
SoA Types get variable emplacement (!)
...
We're now reaching the steady state we want to be closert to - when a
type is translated to a variable, emplace the variable we created for it
in the type index, so that types are never converted again!
2022-11-14 15:15:19 -06:00
Joshua Warner
ca5d084497
Implement tuple pattern parsing
...
Step 2 of N in implementing #4465
2022-11-13 16:11:57 -05:00
Richard Feldman
5f74e10d32
Merge pull request #4515 from roc-lang/workspace-dependencies
...
Workspace dependencies
2022-11-13 11:44:29 -08:00
Folkert
662bf1de99
more workspace dependencies
2022-11-13 16:10:02 +01:00
Folkert
2c23a106f2
make inkwell a workspace dependency
2022-11-13 15:00:48 +01:00
Folkert
031866799a
use inkwell's FunctionIterator
2022-11-13 14:51:24 +01:00
Ayaz
b907f01f1f
Merge pull request #4507 from roc-lang/alias-analysis-rc-recursion
...
fix stack overflow in alias analysis
2022-11-12 12:54:06 -06:00
Joshua Warner
f4ce4bf983
Implement parsing for tuple accessor functions (.1, .2, etc)
...
Step 2 of N toward implementing #4465
2022-11-12 09:56:29 -05:00
Folkert
78b89cb894
handle RC along with lets in alias analysis to limit recursion depth
2022-11-12 13:42:10 +01:00
Ayaz Hafiz
bf1b688afb
Eliminate indirect reference
2022-11-11 21:16:27 -06:00
Ayaz Hafiz
b03a1d3efd
eliminate type
2022-11-11 21:16:27 -06:00
Ayaz Hafiz
689fc10308
Use variable instead of type
2022-11-11 21:16:26 -06:00
Ayaz Hafiz
721c4cb1e6
Use variable instead of type
2022-11-11 21:16:26 -06:00
Ayaz Hafiz
d416b8b184
Do not clone return type
2022-11-11 21:16:26 -06:00
Ayaz Hafiz
bd9c9cc184
Replace busted gen test with reporting test
2022-11-11 21:16:26 -06:00
Ayaz Hafiz
3897c46a7b
Do not clone signature
2022-11-11 21:16:26 -06:00
Ayaz Hafiz
de17bab87c
Do not clone signature
2022-11-11 21:16:25 -06:00
Ayaz Hafiz
410413aa96
Do not clone return type
2022-11-11 21:16:25 -06:00
Ayaz Hafiz
8107c30a4b
Coalesce instantiated type indices
2022-11-11 21:16:25 -06:00
Ayaz Hafiz
764cc4d1d8
Do not clone annotation type
2022-11-11 21:16:25 -06:00
Ayaz Hafiz
cf1982733e
Do not clone signature closure type
2022-11-11 21:16:25 -06:00
Ayaz Hafiz
1ab8742d71
Do not clone return type
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
16f622b0df
Eliminate clone of signature
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
75ad2ffede
Do not clone signature closure type
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
b0be1ed08e
Do not clone return type
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
9e09914be2
Remove unused functions
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
02d3c73d9c
Mark internal functions as pub(crate)
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
c66a0f53c6
Remove str_type
2022-11-11 21:16:24 -06:00
Ayaz Hafiz
f1180a1549
Byte deletion party
2022-11-11 21:16:23 -06:00
Ayaz Hafiz
54f4a70a0b
Explain evil
2022-11-11 21:16:23 -06:00
Ayaz Hafiz
a2e90c3709
Fix types SoA usage in solve
2022-11-11 21:16:23 -06:00
Ayaz Hafiz
6b5f632364
[skip-ci] Fix borrow issues in constraining
2022-11-11 21:16:22 -06:00
Ayaz Hafiz
59d2de5a55
Constrain with Types SoA, sans borrow checker
2022-11-11 21:16:05 -06:00
Ayaz Hafiz
e3ef9828c7
Store solve aliases as TypeTag
2022-11-11 21:16:05 -06:00
Ayaz Hafiz
e3dbf5c09c
Use capacity when constructing aliases
2022-11-11 21:16:04 -06:00
Ayaz Hafiz
0d642929aa
Remove builtin aliases in favor of alias instantiation optimizations
2022-11-11 21:16:04 -06:00
Ayaz Hafiz
314b75b0e5
Feed SoA Types from load into solve
2022-11-11 21:16:03 -06:00
Ayaz Hafiz
6f6a90320e
Store types on ConstrainedModule
2022-11-11 21:16:01 -06:00
Ayaz
7ce32e75b7
Merge pull request #4496 from roc-lang/llvm-lowlevel-refactor
...
Llvm lowlevel refactor
2022-11-11 21:01:40 -06:00
Richard Feldman
83e4eef475
Merge pull request #4492 from joshuawarner32/tuple-syntax-1
...
Implement initial tuple syntax
2022-11-11 17:55:25 -08:00
Folkert
d3d9320eb9
revert to old style
2022-11-12 00:45:17 +01:00
Folkert
97ef9e0bbf
Merge remote-tracking branch 'origin/main' into llvm-lowlevel-refactor
2022-11-12 00:42:40 +01:00
Folkert
c556d96772
try to strip prefix via string
2022-11-12 00:39:14 +01:00
Folkert
e74ff3f50a
attempt to get windows to format a path correctly
2022-11-12 00:33:46 +01:00
Joshua Warner
8d79182730
Actually parse to Expr::Tuple... whoops!
2022-11-11 14:21:08 -05:00
Richard Feldman
58ea07f14f
Merge pull request #4503 from roc-lang/windows-cli-tests
...
Windows rust platforms
2022-11-11 09:42:06 -08:00
Joshua Warner
6c15cc750f
Change test to use single backpassing instead of multi
2022-11-11 08:13:13 -05:00
Folkert de Vries
9457b87923
Merge pull request #4498 from roc-lang/rust_1_64
...
rust 1.64
2022-11-11 13:59:40 +01:00