Commit Graph

15066 Commits

Author SHA1 Message Date
Ayaz Hafiz
02bff35203
Remove dead let-identifier code 2022-05-07 15:01:04 -04:00
Folkert de Vries
24279e12d0
Merge pull request #3017 from rtfeldman/sweep-deps
Sweep unused deps
2022-05-07 18:38:37 +02:00
Folkert
7619216d84
add wasmer dependency again in the repl_test crate 2022-05-07 15:46:42 +02:00
Folkert de Vries
a65d736f37
Merge pull request #3014 from rtfeldman/alias-in-opaque
Instantiate aliases in delayed alias args
2022-05-07 13:07:35 +02:00
Richard Feldman
6f0ca57e99
Merge pull request #3016 from rtfeldman/i2322
Un-ignore test that works now
2022-05-06 23:10:11 -04:00
ayazhafiz
0626433a14 Sweep unused deps
`cargo +nightly udeps` told me what's good
2022-05-06 22:54:42 -04:00
ayazhafiz
afd68f103f Un-ignore test that works now 2022-05-06 22:21:39 -04:00
Ayaz
e8c2e96879
Merge pull request #3015 from rtfeldman/matrix-more-bitvec
Matrix more bitvec
2022-05-06 21:43:54 -04:00
Folkert
8a209334cc
use bitvec in the input for sccs 2022-05-07 00:39:15 +02:00
Folkert
13fc0f9a1e
make params.p use a bitvec 2022-05-06 22:55:18 +02:00
Folkert
b46de2f0a8
Revert "make params.p use a bitvec"
This reverts commit a2b04d35f7.
2022-05-06 22:55:06 +02:00
Folkert
2b1491189a
Revert "use bitvec for params.s"
This reverts commit 65ca5d33b3.
2022-05-06 22:48:59 +02:00
Folkert de Vries
e67ae7c922
Merge pull request #2817 from rtfeldman/i/2792
Fix llvm type errors for float functions
2022-05-06 22:34:45 +02:00
Folkert
65ca5d33b3
use bitvec for params.s 2022-05-06 22:23:32 +02:00
Richard Feldman
4c3c42f278
Merge pull request #3011 from rtfeldman/fmt-tests
Improved formatting tests
2022-05-06 16:17:57 -04:00
Folkert
a2b04d35f7
make params.p use a bitvec 2022-05-06 22:06:16 +02:00
Ayaz Hafiz
7e234d4550
Instantiate aliases in delayed alias args 2022-05-06 16:04:47 -04:00
Folkert
3e38dc80f5
use bitvec for group (internally) 2022-05-06 21:56:48 +02:00
Folkert de Vries
990823e6b7
Merge pull request #3010 from rtfeldman/polymorphic_lambda_set_usage
Better symbol specialization data structure, and handle closure specialization
2022-05-06 21:37:22 +02:00
Richard Feldman
281602d664
Merge pull request #3003 from rtfeldman/threading
Explicit single vs multithreading for build functions
2022-05-06 15:07:33 -04:00
Richard Feldman
36255b056b
Test expected == actual after verifying idempotence 2022-05-06 14:45:59 -04:00
Folkert
9e80673b1d
implement Num.round in the wasm backend like how the dev backend does it 2022-05-06 20:41:02 +02:00
Richard Feldman
a8991dc268
Trim inputs and expected in fmt tests 2022-05-06 14:37:23 -04:00
Richard Feldman
eb1d572b24
Test that modules reformat stably too 2022-05-06 14:37:23 -04:00
Richard Feldman
ad51624eb2
Write a better test for tui example 2022-05-06 14:37:23 -04:00
Richard Feldman
eb8e7d6a97
Verify stable formatting in fmt tests 2022-05-06 14:37:22 -04:00
Richard Feldman
c0f18f1c52
Move RemoveSpaces into fmt, for use in tests 2022-05-06 14:37:22 -04:00
Richard Feldman
7be5948476
Add formatter test 2022-05-06 14:37:22 -04:00
Richard Feldman
add638cbe6
Merge pull request #3004 from rtfeldman/thread-flex
Thread flex
2022-05-06 14:36:46 -04:00
Ayaz Hafiz
2a4ed33530
We love the eta reductions 2022-05-06 14:32:54 -04:00
Folkert
07383e96f0
Merge remote-tracking branch 'origin/trunk' into i/2792 2022-05-06 20:17:53 +02:00
Folkert
64b633bea6
make round return an integer 2022-05-06 20:17:40 +02:00
Ayaz Hafiz
a0950e9321
impl ExactSizeIterator for VecMap 2022-05-06 14:10:16 -04:00
Ayaz Hafiz
abb9bb8169
Pretty print symbols 2022-05-06 13:37:22 -04:00
Ayaz Hafiz
2aeb06c9cb
Spellcheck 2022-05-06 12:21:42 -04:00
Richard Feldman
531d254bca
Fix parser tests
Regions changed in 15187024233795c059342adc3c23b8a148a7f26e
2022-05-06 12:10:08 -04:00
Richard Feldman
2c3731f7de
Drop an unnecessary lifetime annotation 2022-05-06 12:06:28 -04:00
Richard Feldman
7c8a71d863
Format examples/interactive/tui/Package-Config.roc 2022-05-06 12:06:28 -04:00
Richard Feldman
dcea38dcf6
Add parse test for tui-platform/Package-Config.roc 2022-05-06 12:06:28 -04:00
Richard Feldman
8273775540
Improve test_parse error message 2022-05-06 12:06:28 -04:00
ayazhafiz
dca347a807
Revert "roc fmt"
This reverts commit 9e00527bc214ebbb13d9e05ff03ea24b1467e6dc.
2022-05-06 12:06:28 -04:00
ayazhafiz
ef77ff35cf
Improve expectation for platform requires mismatch
```
── TYPE MISMATCH ───── examples/hello-world/rust-platform/./Package-Config.roc ─

Something is off with the type annotation of the main required symbol:

2│      requires {} { main : a -> a }
                             ^^^^^^

This #UserApp.main value is a:

    Str

But the type annotation on main says it should be:

    a -> a

────────────────────────────────────────────────────────────────────────────────
```
2022-05-06 12:06:27 -04:00
ayazhafiz
514af619f5
Store region of type annotation correctly 2022-05-06 12:06:27 -04:00
Richard Feldman
0810d8194e
roc fmt 2022-05-06 12:06:27 -04:00
Richard Feldman
388f402a26
remove unnecessary clone (thanks, clippy!) 2022-05-06 12:06:27 -04:00
Ayaz Hafiz
77a1f644a4
Thread error message information for requires 2022-05-06 12:06:27 -04:00
Ayaz Hafiz
c7142da116
Correctly generate type constraints for required symbols in platform 2022-05-06 12:06:27 -04:00
Ayaz Hafiz
e8fbda44fc
Revert "Revert "Thread through symbols_from_requires""
This reverts commit 8ac1dfac1a.
2022-05-06 12:06:27 -04:00
Ayaz Hafiz
9e35cf9060
Unable function marks for symbol specializations 2022-05-06 12:03:35 -04:00
Ayaz Hafiz
e0bfe6c762
Make specialization symbols a two-layered VecMap 2022-05-06 11:58:02 -04:00