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
Folkert
f140fad2b0
add the test that started this whole saga
2022-05-06 16:55:08 +02:00
Folkert
ae90f1ec7e
re-enable test
2022-05-06 16:47:29 +02:00
Folkert
e2b7056e20
add List.sort test
2022-05-06 16:45:50 +02:00
Folkert
0a2a43546c
add List.map RC tests
2022-05-06 16:39:05 +02:00
Folkert
61c2b20313
cleanup
2022-05-06 16:12:49 +02:00
Ayaz Hafiz
b4f5e62f46
Marks specializations for closure defs
2022-05-06 09:44:47 -04:00
Folkert
8c3a00f7aa
thread through an updatemodeids
2022-05-06 15:41:29 +02:00
Folkert
cfa331be02
handle sorting of unique lists
2022-05-06 15:28:56 +02:00
Nuno Ferreira
2c29a46968
removed code example as it was breaking CI
2022-05-06 15:18:07 +02:00
Folkert
f2c498c900
Merge branch 'list-is-unique-lowlevel' into list-map-ownership
2022-05-06 14:13:03 +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
Folkert
8f5956fdfe
refactor
2022-05-06 10:26:44 +02:00
Folkert
032104e02b
factor out decrement to closure argument
2022-05-06 09:52:49 +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
Richard Feldman
9b1fa699dc
The journey of a thousand miles begins with one clip
2022-05-05 14:42:36 -04:00
Richard Feldman
dd460fb818
Use single-threaded builds in tests
2022-05-05 14:42:36 -04:00
Folkert de Vries
593d634455
Merge pull request #2956 from rtfeldman/def-specialization-for-polymorphic-expressions
...
Polymorphic specialization of defs, at the def site
2022-05-05 20:40:24 +02:00
Ayaz
8bcd64d502
Merge pull request #2999 from rtfeldman/symbol-nonzero-u32
...
Symbol nonzero u32
2022-05-05 13:29:40 -04:00
Ayaz Hafiz
a760510be0
Consolidate and improve debug_flags
2022-05-05 12:06:16 -04:00
Folkert
76fb5308e7
update wasm type size asserts
2022-05-05 17:57:02 +02:00
Ayaz Hafiz
be55398d3c
Revert solve changes
2022-05-05 11:52:41 -04:00