Commit graph

73 commits

Author SHA1 Message Date
Richard Feldman
739e249a44
Allow roc check on Package-Config.roc 2022-05-04 21:36:48 -04:00
Richard Feldman
dd1e8cc193
[Shatner yell] CLIPPYYYYYYYYYYY!!!!!!! 2022-05-02 21:18:30 -04:00
Richard Feldman
e6b05d463e
Make PRELUDE_TYPES a constant 2022-05-02 19:29:39 -04:00
Richard Feldman
7e0265adc2
Add an explicit scope around a lock 2022-05-02 10:28:08 -04:00
Ayaz
2ab0bc1226
Merge pull request #2982 from rtfeldman/more-debug-flags
Add more debug flags
2022-05-01 14:30:33 -04:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
Scope bitmask
2022-05-01 12:26:14 -04:00
ayazhafiz
37ba70472f Add more debug flags 2022-05-01 12:25:03 -04:00
Ayaz
3197cd97ce
Merge pull request #2977 from rtfeldman/debug_flags
Factor bespoke debug variables into debug_flags crate
2022-04-30 18:16:06 -04:00
Folkert
a5ec269a4d
clippy 2022-04-30 21:06:34 +02:00
Folkert
76754e4d2a
use &str instead of Ident in some key places 2022-04-30 20:43:12 +02:00
Folkert
8fe3e24c8b
step 4: new scope with passing reporting tests 2022-04-30 00:51:32 +02:00
Ayaz Hafiz
9964f86a3d
Factor bespoke debug variables into debug_flags crate 2022-04-29 17:45:55 -04:00
Ayaz Hafiz
83c6c3a17d
Remove Lowercase from Alias and Opaque 2022-04-29 11:36:31 -04:00
Ayaz Hafiz
452b882f12
Remove unused alias types 2022-04-29 11:04:15 -04:00
Ayaz Hafiz
c225515a1b
Get rid of variable name on DelayedAlias 2022-04-29 10:55:29 -04:00
Folkert de Vries
4074088a5e
Merge pull request #2971 from rtfeldman/no-mono-exhaustiveness
No more exhaustiveness checking in mono, nor mono errors
2022-04-29 09:18:50 +02:00
Ayaz Hafiz
89757dc31f Remove MonoProblem 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
907cbdc3a7 Compile fix 2022-04-28 20:34:04 -04:00
Folkert
99340e314c
remove clone of scope.ident_ids 2022-04-28 23:27:46 +02:00
Ayaz
98a3523702
Merge pull request #2961 from rtfeldman/improved-identids
Improved identids
2022-04-27 10:11:06 -04:00
Folkert
c31b796938
more types! 2022-04-26 20:10:29 +02:00
Folkert
af6c3231f3
Improved IdentIds 2022-04-25 23:15:57 +02:00
Richard Feldman
85e7969c2d
Replace references to "global tag" with "tag" 2022-04-25 17:04:34 -04:00
Ayaz Hafiz
55706ae5c4
Remove other references to private tags in code 2022-04-25 11:50:00 -04:00
Ayaz Hafiz
1ed9cf551a
Remove private tags from Ast 2022-04-25 11:20:37 -04:00
Ayaz Hafiz
b6383f81ee
Numbers are opaques 2022-04-25 10:59:42 -04:00
Folkert de Vries
2cc8e95198
Merge pull request #2901 from rtfeldman/vec-map
VecMap
2022-04-21 09:16:38 +02:00
Folkert
a1c0cdaeb1
make multi-threaded the default again 2022-04-21 00:50:05 +02:00
Folkert
35b560f14d
remove debug code 2022-04-21 00:47:55 +02:00
Folkert
ec43d7d770
clippy 2022-04-20 18:05:06 +02:00
Richard Feldman
40aca3c20d
Remove another gazillion allocations from reporting 2022-04-19 20:53:44 -04:00
Richard Feldman
3f698c9878
Remove a gazillion allocations from reporting 2022-04-19 20:53:44 -04:00
Folkert
b59d33a1d5
refactor roc_collections 2022-04-19 23:00:05 +02:00
Folkert
833aecbf8a
fix name 2022-04-18 22:05:06 +02:00
Folkert
1c8b18f176
import Box by default 2022-04-18 21:43:16 +02:00
Folkert
2c0b29efd1
use VecSet in IntroducedVariables 2022-04-17 20:53:54 +02:00
Folkert
7b81c59009
Merge branch 'vecset-references' into builtins-in-roc 2022-04-17 20:32:38 +02:00
Folkert
304b7fd569
use VecSet for exposed_symbols 2022-04-17 20:23:29 +02:00
Folkert
8692938fb3
Merge branch 'vecset-references' into builtins-in-roc 2022-04-17 19:39:03 +02:00
Folkert
2784affbc1
skip constraint gen for cached modules 2022-04-17 14:51:56 +02:00
Folkert
d7d884b4f7
cleanup 2022-04-17 13:55:21 +02:00
Folkert
90a980a3e9
remove debug code 2022-04-17 13:54:53 +02:00
Folkert
e112f6ad2c
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-04-16 21:01:51 +02:00
Ayaz Hafiz
eb81c68bcb
Pass abilities store to mono 2022-04-14 16:20:55 -04:00
Richard Feldman
4ea4aa4708
Merge pull request #2838 from rtfeldman/abilities-typechecking
Inference and checking for abilities
2022-04-13 22:03:44 -04:00
Ayaz Hafiz
41dd7d0b4d
Specialize bodies with body var, not function var
I'm surprised code generation worked so well without this, before...

Closes #2818
2022-04-13 18:35:50 -04:00
Folkert
2b07b8c78d
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-04-13 21:45:40 +02:00
Folkert
493a96d85b
mark the builtin files as such so builtin function implementations are inserted 2022-04-13 21:40:08 +02:00
Ayaz Hafiz
64b559073d
Clippy 2022-04-12 16:18:07 -04:00
Ayaz Hafiz
15a040ec87
Basic type inference and solving for abilities
Note that is still pretty limited. We only permit opaque types to
implement abilities, abilities cannot have type arguments, and also no
other functions may depend on abilities
2022-04-12 16:18:07 -04:00