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
Richard Feldman
4c3c42f278
Merge pull request #3011 from rtfeldman/fmt-tests
...
Improved formatting tests
2022-05-06 16:17:57 -04: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
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
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
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
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
Richard Feldman
eb4fd05274
Use Threading::Single in wasm test helpers
2022-05-06 11:38:17 -04:00
Richard Feldman
a5ffb216c8
Merge pull request #3006 from rtfeldman/nunocf/migrating-docs
...
Migrating docs
2022-05-06 11:35:05 -04:00
Ayaz Hafiz
b4f5e62f46
Marks specializations for closure defs
2022-05-06 09:44:47 -04:00
Nuno Ferreira
2c29a46968
removed code example as it was breaking CI
2022-05-06 15:18:07 +02:00
Folkert
5755475b3a
add ListIsUnique lowlevel operation
2022-05-06 13:56:35 +02:00
Nuno Ferreira
a46555d14c
Fixed mistake when porting over List docs
2022-05-06 12:02:57 +02:00
Nuno Ferreira
6e69349dc0
Migrated Dict
2022-05-06 11:26:24 +02:00
Nuno Ferreira
c0b04e2800
Migrated builtins/docs/Result.roc docs over to builtins/roc/Result.roc
2022-05-06 11:13:19 +02:00
Nuno Ferreira
b6294d1aa1
Merge branch 'trunk' of github.com:rtfeldman/roc into nunocf/migrating-docs
2022-05-06 11:00:17 +02:00
Nuno Ferreira
a4b0664d16
Migrated List.roc docs over to builtins/roc/List.roc
2022-05-06 10:59:58 +02:00
Nuno Ferreira
92a691ad0f
Migrated Str
2022-05-06 00:40:53 +02:00
Nuno Ferreira
53f9de3180
Revert "Moved over all Str functions that are still the same"
...
This reverts commit a0ec98f36a
.
2022-05-06 00:29:59 +02:00
Nuno Ferreira
ea2a6bfb29
Migrated Set
2022-05-06 00:27:43 +02:00
Nuno Ferreira
a0ec98f36a
Moved over all Str functions that are still the same
...
There's a few which seem to have been removed but some docs remained.
I read through them and thought they didn't make sense to migrate as the
types changed. Please let me know if this is correct.
Deleted old Str.roc file
2022-05-06 00:18:29 +02:00
Folkert de Vries
e86fd9e879
Merge pull request #3002 from rtfeldman/fix-debug-flags
...
Debug flags fixes
2022-05-05 22:36:45 +02:00
Richard Feldman
8ac1dfac1a
Revert "Thread through symbols_from_requires"
...
This reverts commit 1421aebcd3
.
2022-05-05 16:19:34 -04:00
Richard Feldman
1421aebcd3
Thread through symbols_from_requires
2022-05-05 16:18:47 -04:00
Richard Feldman
59023d2a88
Add VecSet::insert_all
2022-05-05 16:18:38 -04:00
Richard Feldman
e6a72578c1
Add Annotation::add_to
2022-05-05 16:17:49 -04:00
Ayaz
077c5dc1bd
Merge branch 'trunk' into fix-debug-flags
2022-05-05 14:54:39 -04:00