Commit graph

9049 commits

Author SHA1 Message Date
Richard Feldman
ae2855628e
Try fixing a surprising constraint behavior 2024-11-16 23:48:57 -05:00
Richard Feldman
05e5fb4189
Fix a test, delete some dead code 2024-11-16 18:53:53 -05:00
Richard Feldman
219a0398a2
Introduce string-based mono expr tests 2024-11-16 18:31:32 -05:00
Richard Feldman
03370da6d6
Unwrap single-field records 2024-11-16 15:08:51 -05:00
Richard Feldman
c883a6b5ac
Monomorphize record literals 2024-11-16 13:24:32 -05:00
Richard Feldman
074161733e
wip 2024-11-13 21:19:16 -05:00
Richard Feldman
2c2a45d9d9
Monomorphize numbers 2024-11-09 00:44:27 -05:00
Richard Feldman
8b73efc2ec
Test monomorphizing string literals 2024-11-08 21:07:29 -05:00
Richard Feldman
7b80489772
Fill out some more mono expr types 2024-11-08 19:20:33 -05:00
Richard Feldman
ed6ad1bc82
Get a failing specialize_expr test 2024-11-08 00:55:04 -05:00
Richard Feldman
2af00caa9c
Add help_constrain, help_solve, help_specialize 2024-11-01 21:16:45 -04:00
Richard Feldman
78ceb8cdbf
Fix help_can and help_parse 2024-11-01 21:15:35 -04:00
Richard Feldman
67bca80921
Add test_compile crate 2024-10-20 18:52:22 -04:00
Richard Feldman
98535bfbce
wip 2024-10-20 11:00:58 -04:00
Richard Feldman
e947cd78b9
Use LowerTupleIterator approach 2024-10-15 09:25:52 -04:00
Richard Feldman
3520145378
Make specialize_types lower to a new representation 2024-10-14 22:13:50 -04:00
Richard Feldman
0d459cc84b
wip 2024-10-09 22:54:29 -04:00
Richard Feldman
58aaf32475
Unwrap type aliases more 2024-10-09 20:27:43 -04:00
Richard Feldman
79744808e6
clippy 2024-10-08 13:24:00 -04:00
Richard Feldman
5dda595277
Remove extra sepcialize tests 2024-10-08 07:54:53 -04:00
Richard Feldman
a787f220c8
Get specialize_types tests passing 2024-10-07 19:55:14 -04:00
Richard Feldman
83b723f221
Fix a bunch of tests 2024-09-28 22:29:40 -04:00
Richard Feldman
3f3ee26504
Add some specialization tests 2024-09-27 22:20:55 -04:00
Richard Feldman
4bc872152e
Extract lower_vars helper 2024-09-27 21:55:29 -04:00
Richard Feldman
768e9cf81d
Fix monomorphizing tag-or-fn 2024-09-27 21:48:26 -04:00
Richard Feldman
1f9e47e68c
Fix a bunch of monomorphization stuff 2024-09-27 21:09:56 -04:00
Richard Feldman
fc3666b429
Revise specialize_types 2024-09-27 09:08:55 -04:00
Richard Feldman
f4f9bcb9dd
First pass at specialize_types 2024-09-26 22:09:23 -04:00
Richard Feldman
b9fea8c6f4
Add specialize_types crate 2024-09-25 22:11:14 -04:00
Richard Feldman
87b7bb1fac
Fix "opaquees" in error message 2024-09-25 22:11:14 -04:00
Anton-4
1525ddd0d6
Merge branch 'main' into dict-update-with-a-result 2024-09-24 18:03:18 +02:00
Ayaz
5f3a956137
Merge pull request #6832 from roc-lang/ayaz/optimize-list-literal-alloc
Optimize literal list construction in LLVM backend
2024-09-23 02:50:24 -04:00
Ayaz
cef2c8ae87
Update build.rs
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2024-09-21 09:50:17 -04:00
Ayaz
9c656dd28e
Merge branch 'main' into ayaz/optimize-list-literal-alloc 2024-09-21 09:44:50 -04:00
Sam Mohr
2ea6a5d79c
Merge branch 'main' into remove-old-record-builder 2024-09-21 04:54:03 -07:00
Sam Mohr
2da08be8ef
Remove old record builder syntax 2024-09-21 04:44:44 -07:00
Agus Zubiaga
5054c9990e
Desugar module param patterns before canonicalizing 2024-09-20 16:35:18 -03:00
Agus Zubiaga
3f9e957c9c
Extract record destructure desugaring into its own fn 2024-09-20 16:30:59 -03:00
Agus Zubiaga
3eadc03e28
Add failing test for multiline params 2024-09-20 16:19:56 -03:00
Stuart Hinson
9745e1931c Dict.update alter fn is passed a Result 2024-09-19 20:46:44 -04:00
Luke Boswell
306394b98b
Merge pull request #7101 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/multi-9423f4c335
Bump body-parser and express in /crates/compiler/checkmate/www
2024-09-19 17:54:26 +10:00
Luke Boswell
16091d953a
Merge pull request #7071 from ageron/add-list-dropat-test-case
Add a test case for List.dropAt at index in the middle of list
2024-09-19 15:38:49 +10:00
dependabot[bot]
584a6c2bd2
Bump body-parser and express in /crates/compiler/checkmate/www
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 04:16:05 +00:00
Luke Boswell
821c84fada
Merge pull request #7059 from roc-lang/roc-heap
Add `ThreadSafeRefcountedResourceHeap` as a new crate on roc
2024-09-19 14:14:55 +10:00
Aurélien Geron
c10b25cf6e
Fixes #7065 in List.dropAt, author: @bhansconnect 2024-09-19 10:43:05 +12:00
Aurélien Geron
033d87034c
Add a test case for List.dropAt at an index located in the middle of the list 2024-09-19 10:05:48 +12:00
Brendan Hansknecht
7989ee763c
fix null check (accidentally inverted conditional) 2024-09-17 14:20:45 -07:00
Brendan Hansknecht
3e423ce418
typo 2024-09-17 13:37:11 -07:00
Brendan Hansknecht
ad7be994ce
minor cleanup 2024-09-17 13:33:33 -07:00
Brendan Hansknecht
8305affe25
more clippy 2024-09-17 13:28:28 -07:00