Commit graph

14474 commits

Author SHA1 Message Date
Richard Feldman
4952f7e9d2
fix cli_run tests 2022-04-20 20:43:39 -04:00
Richard Feldman
e2ea66043a
Add color_reset to StyleCodes 2022-04-20 20:43:39 -04:00
Richard Feldman
928f99957a
Fix warnings in Closure benchmark 2022-04-20 20:43:38 -04: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
Ayaz Hafiz
4bbc1d3a2b
Clippy 2022-04-20 17:46:19 -04:00
Ayaz Hafiz
80dc50763e
Using abilities as types is illegal, but we can still compile them
Closes #2881
2022-04-20 17:46:18 -04:00
Ayaz Hafiz
c0dec1d5bc
Fix indent 2022-04-20 17:45:41 -04:00
Ayaz Hafiz
0387eeed23
Make sure we're generating correct code with has annotations 2022-04-20 17:45:41 -04:00
Ayaz Hafiz
cbfd76380a
Improve ability generalization error message 2022-04-20 17:45:41 -04:00
Ayaz Hafiz
9d71a3d1ac
Generalizing ability type instance to ability is illegal
Closes #2881
2022-04-20 17:45:40 -04:00
Ayaz Hafiz
bd6078a34a
Fix reporting tests 2022-04-20 17:43:17 -04:00
Ayaz Hafiz
ff5ae67094
Multi-specializations of able variables through function compile 2022-04-20 17:43:17 -04:00
Ayaz Hafiz
b9f79fdd31
Able variables through different functions compile 2022-04-20 17:43:17 -04:00
Ayaz Hafiz
a07323fb40
Typecheck annotations with able variables outside ability members 2022-04-20 17:43:16 -04:00
Richard Feldman
6c1e8d3789
fix typo 2022-04-20 17:14:22 -04:00
Richard Feldman
41fafd85fd
C L I P P Y 2022-04-20 17:06:20 -04:00
Richard Feldman
729aab21a1
Don't try to mem::forget a reference 2022-04-20 17:06:17 -04:00
Richard Feldman
4d11e7cbe6
Revamp notes printed after compilation finishes. 2022-04-20 17:05:21 -04:00
Richard Feldman
62484d3890
Add roc run to run even if there are build errors. 2022-04-20 15:44:39 -04:00
Folkert
e87ca7e4b7
create and union fewer Output's 2022-04-20 21:20:59 +02:00
Folkert
9d17a075d9
halve the number of lookups into References 2022-04-20 20:22:52 +02:00
Folkert
b557929276
compact References into just two allocations 2022-04-20 20:22:02 +02:00
Folkert
19dce40cd1
fix formatting 2022-04-20 18:11:44 +02:00
Folkert
9eddd23250
add vec_map 2022-04-20 18:09:09 +02:00
Folkert
ec43d7d770
clippy 2022-04-20 18:05:06 +02:00
Folkert
0267963e14
stop using referenced_type_defs 2022-04-20 18:02:11 +02:00
Folkert
b92c28b237
make calls private 2022-04-20 17:43:18 +02:00
Richard Feldman
a47b3be9c0
Revise some CLI flag descriptions 2022-04-20 11:42:19 -04:00
Folkert
ab8ac2edad
make bound_symbols private 2022-04-20 17:39:19 +02:00
Folkert
c531191e49
make value_lookups private 2022-04-20 17:34:08 +02:00
Folkert
e740bbe529
make some of References' fields private 2022-04-20 17:25:22 +02:00
Folkert
8b144c446d
remove PartialEq for a bunch of types that we should not compare 2022-04-20 16:58:30 +02:00
Brian Carroll
f8156ffd53
Merge pull request #2834 from rtfeldman/wasm-list-map-n
Wasm List.mapN
2022-04-20 14:47:04 +01:00
Folkert de Vries
30731da716
Merge pull request #2892 from rtfeldman/i/2878
Explicitly disallow ability definitions in nested scopes
2022-04-20 14:51:21 +02:00
Richard Feldman
84727b31e5
Only support --target with roc build 2022-04-20 08:23:44 -04:00
Richard Feldman
ecd230f97c
Merge pull request #2896 from rtfeldman/error-message
Record error reporting improvements
2022-04-20 07:58:24 -04:00
Anton-4
07fcafd6d7
Merge pull request #2897 from rtfeldman/concurrency-groups
Turn on concurrency groups for GitHub CI
2022-04-20 09:27:57 +02:00
Richard Feldman
93677001ba
Merge pull request #2888 from rtfeldman/divTrunc
rename divFloor to divTrunc
2022-04-19 21:57:49 -04:00
ayazhafiz
d4d8f6d902 Turn on concurrency groups for GitHub CI
This ensures that we only one set of workflows is running for an active
GH ref (usually a PR). Stale workflows will be term'd when a new one
associated with the same PR is kicked off.

See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
2022-04-19 21:21:11 -04:00
Richard Feldman
0c96c0b66f
Professional basketball team Los Angeles Clippy 2022-04-19 20:53:45 -04:00
Richard Feldman
b35ff3add3
cargo fmt 2022-04-19 20:53:45 -04:00
Richard Feldman
85d30a541d
Update reporting tests 2022-04-19 20:53:45 -04:00
Richard Feldman
5562121006
Use ':' and '.' contextually in error messages
e.g. record update errors complain about 'foo:'
being wrong, whereas record access errors
complain about '.foo' being wrong.
2022-04-19 20:53:44 -04:00
Richard Feldman
fdb378f859
Drop extraneous space before newline 2022-04-19 20:53:44 -04:00
Richard Feldman
40aca3c20d
Remove another gazillion allocations from reporting 2022-04-19 20:53:44 -04:00
Richard Feldman
27edc49271
Use nicer report for record field mismatches 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
Richard Feldman
7fc01a0a9b
Annotate record typos and suggestions better 2022-04-19 20:53:44 -04:00
Richard Feldman
3a736c6ece
Match typo suggestion color with typo color 2022-04-19 20:53:43 -04:00