Ayaz Hafiz
c91b82198d
Use correct variable when compiling dbg continuation
...
Closes #5479
2023-06-13 16:45:02 -05:00
Folkert de Vries
b3c598fcf6
Merge pull request #5539 from roc-lang/dev-gen-primitives
...
dev backend: de-duplicate function names based on the lambda set
2023-06-13 22:13:34 +02:00
Ayaz
c907b12cf0
Merge pull request #5548 from JTeeuwissen/fix-oc-test-panics-after-roc-check-said-zero-errors,-zero-warnings
...
Index array symbols unknown symbols
2023-06-13 13:44:12 -05:00
J.Teeuwissen
5d66ae4295
removed target info
2023-06-13 17:15:04 +02:00
J.Teeuwissen
36abaec07d
Index array symbols unknown symbols
2023-06-13 15:56:55 +02:00
Folkert
59da1ea891
consistently name function symbols
...
previously the dev backend did not take into account lambda name information to generate function names. This could cause the same function name to be defined twice
2023-06-11 13:39:43 +02:00
Folkert
92194be436
use retain
to save on some allocations
2023-06-10 23:55:15 +02:00
J.Teeuwissen
86797a9515
typo
2023-06-10 23:55:14 +02:00
J.Teeuwissen
fbf3faeaf1
Simplified logic
2023-06-10 23:55:14 +02:00
J.Teeuwissen
46bff75517
progress
2023-06-10 23:55:09 +02:00
J.Teeuwissen
d735742fdb
used resulting incremented_symbols
2023-06-10 23:54:00 +02:00
J.Teeuwissen
94fb89bde4
Start drop specialisation for joinpoints
2023-06-10 23:53:19 +02:00
Folkert
515d60a138
many extra gen_primitives tests for gen-dev
2023-06-07 12:52:33 +02:00
Folkert
0e43510103
fix struct equality using pointer equalty ?!
2023-06-07 12:51:15 +02:00
Folkert
140a294460
never switch on a float
2023-06-07 12:51:15 +02:00
Ayaz
c7f5007cd8
Merge pull request #5400 from roc-lang/semantic-layouts-for-newtypes
...
Implement semantic layouts for newtypes
2023-06-07 05:39:20 -05:00
J.Teeuwissen
36f90c05e2
updated Stmt::Dbg
2023-06-07 08:34:36 +02:00
Ayaz Hafiz
43259b9ad6
Compile dbgs that appear in expects
...
Closes #5480
2023-06-06 18:07:34 -05:00
Ayaz Hafiz
80a98668d5
Fix type errors
2023-06-06 16:07:51 -05:00
Ayaz Hafiz
a6b3656471
Begin generating newtype wrappers for struct layouts
2023-06-06 16:04:41 -05:00
Ayaz Hafiz
57bd0d29d6
Be sure to preserve layout wrappers during reification
2023-06-06 16:03:53 -05:00
Ayaz Hafiz
9a8d138424
eq_repr should chase under reprs
2023-06-06 16:03:53 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper
2023-06-06 16:03:52 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner
2023-06-06 16:01:27 -05:00
J.Teeuwissen
d8f1b1bfe4
removed refcount type from proc
2023-06-03 19:25:13 +02:00
J.Teeuwissen
162e6bbb90
manual default
2023-05-30 11:01:13 +02:00
J.Teeuwissen
f0addf5300
feedback
2023-05-30 10:55:38 +02:00
J.Teeuwissen
93ea086115
Merge branch 'main' into record-update-index-top
2023-05-30 10:47:19 +02:00
J.Teeuwissen
9f23c3d26a
Feedback
2023-05-29 16:38:34 +02:00
J.Teeuwissen
b7a7a735fc
keep inc env always, but set count to 0.
2023-05-29 12:09:18 +02:00
J.Teeuwissen
079290dcaf
Keep 0 in counting map
2023-05-29 10:54:09 +02:00
J.Teeuwissen
e29af85dcf
Fixed tests
2023-05-29 08:39:59 +02:00
J.Teeuwissen
c3e1e600a6
Merge branch 'main' into save-construction-children
2023-05-29 08:02:34 +02:00
Brendan Hansknecht
6149e721f6
fix main by adding missing match branches
2023-05-28 20:29:10 -07:00
J.Teeuwissen
dbebaf17a6
using CountingMap for children
2023-05-28 23:10:24 +02:00
J.Teeuwissen
8f022d4310
fixed specialisation box
2023-05-28 21:18:28 +02:00
J.Teeuwissen
ffc19ec2a2
missing arm
2023-05-28 20:21:10 +02:00
J.Teeuwissen
6e6e1ce833
Merge remote-tracking branch 'origin/main' into save-construction-children
2023-05-28 20:08:22 +02:00
Folkert de Vries
cf20c74eb9
Merge pull request #5436 from JTeeuwissen/drop-specialize-over-matches
...
allow lowlevel and match
2023-05-28 19:59:14 +02:00
J.Teeuwissen
c6e7d56fb6
For single update
2023-05-27 21:29:32 +02:00
J.Teeuwissen
452bafc616
possible_reuse_symbol_or_specialize
2023-05-27 19:34:01 +02:00
J.Teeuwissen
16da790fac
Order by index + clippy
2023-05-27 14:52:25 +02:00
J.Teeuwissen
378a298b45
move record index to start of update
2023-05-27 14:42:37 +02:00
Ayaz Hafiz
3585d5bb5b
Implement hash for Dec
2023-05-26 11:38:30 -05:00
J.Teeuwissen
b0705a00ad
saved info and added test
2023-05-26 15:56:18 +02:00
Brendan Hansknecht
b4c359588e
Seed Dict and Set
...
This changes Dict and Set to have a compilation depedent seed.
The seed is not exposed to userland in anyway.
This gets a much more DOS resistant Dict and Set with no cost.
2023-05-25 09:55:48 -07:00
J.Teeuwissen
3e565d56b7
clippy
2023-05-24 22:11:42 +02:00
J.Teeuwissen
62446b7c60
fixed perf for incremented_children
2023-05-24 21:46:14 +02:00
J.Teeuwissen
b049b29613
Start fixing failed tests
2023-05-24 19:40:12 +02:00
J.Teeuwissen
3eee6097df
Updated comment and formatting
2023-05-24 16:13:24 +02:00