Richard Feldman
951ecdcc53
Merge pull request #2912 from rtfeldman/issue-2875/feedback
...
Exclude filename from repl reports.
2022-04-22 14:00:38 -04:00
Folkert
285e4f05ec
add comment
2022-04-22 19:35:01 +02:00
Folkert
fdd0910ba0
refactor
2022-04-22 19:32:47 +02:00
Folkert
18ba49c694
add comment
2022-04-22 19:29:52 +02:00
Folkert
28cb9bf36e
use custom type for TopologicalSort result
2022-04-22 19:28:46 +02:00
Folkert
48ce1c14bf
ordering changed in a test
2022-04-22 17:10:27 +02:00
Folkert
7196e7cdac
add further comment
2022-04-22 16:26:52 +02:00
Folkert
6306923e0f
add thanks comment
2022-04-22 16:24:47 +02:00
Folkert
55749e7470
make diff a bit smaller
2022-04-22 16:22:27 +02:00
Folkert
09869ac645
pick usize as the underlying integer type
2022-04-22 16:21:28 +02:00
Folkert
a40483a2ec
cleanup
2022-04-22 16:17:21 +02:00
Folkert
9f7c7b56a1
use ReferenceMatrix in DefOrdering
2022-04-22 15:49:32 +02:00
Folkert
0c10fa31f5
rename
2022-04-22 15:41:21 +02:00
Folkert
5d68a00d1c
make ReferenceMatrix type/module
2022-04-22 15:41:07 +02:00
Folkert
e40e4ae846
rename
2022-04-22 15:17:43 +02:00
Folkert
8837eb2c19
remove old def sorting code
2022-04-22 15:09:45 +02:00
Folkert
c763d51551
use new sccs in error case too
2022-04-22 15:04:16 +02:00
Folkert
887acb7519
be smarter about when a function is recursive
2022-04-22 14:41:42 +02:00
Folkert
8c08c63151
faster strongly-connected components
2022-04-22 14:10:46 +02:00
Folkert
45567a591c
rename
2022-04-22 13:42:57 +02:00
Folkert
141f88365d
use extra bitvec to spot faulty recursion
2022-04-22 12:56:50 +02:00
Folkert
b6ccd9c8fb
use bitvec-based topological sort
2022-04-22 11:35:08 +02:00
Folkert
7055645085
add bitvec dependency
2022-04-22 11:34:02 +02:00
Anton-4
a1faa0ad9d
recommend using legacy linker for hello C and Zig for now
2022-04-22 08:57:47 +02:00
Jared Cone
1ee2f85f9e
Exclude filename from repl reports.
2022-04-21 22:44:07 -07:00
Richard Feldman
93347c26a9
Merge pull request #2911 from rtfeldman/tg-add-rwx
...
Adds rwx to the Sponsors section of the README
2022-04-21 21:41:10 -04:00
Tommy Graves
6942216474
Adds rwx to the Sponsors section of the README
2022-04-21 21:31:32 -04:00
Richard Feldman
3a0adb1c7e
Merge pull request #2904 from rtfeldman/cli-args
...
CLI revisions
2022-04-21 12:59:08 -04:00
Jared Cone
b61dc33fb2
Merge pull request #2906 from rtfeldman/issue-2875/file-name-in-warnings
...
Issue 2875/file name in warnings
2022-04-21 09:14:15 -07:00
Richard Feldman
d401ec1421
Merge pull request #2909 from rtfeldman/show-unifications-as-tree
...
Show unifications as tree
2022-04-21 10:52:47 -04:00
Ayaz Hafiz
11f29baf25
Add note about output
2022-04-21 09:34:40 -04:00
Ayaz Hafiz
21661275d8
Show unified variables as a tree
2022-04-21 09:32:26 -04:00
Folkert de Vries
2cc8e95198
Merge pull request #2901 from rtfeldman/vec-map
...
VecMap
2022-04-21 09:16:38 +02:00
Jared Cone
f097a4ffdb
Updated new tests
2022-04-20 22:59:28 -07:00
Jared Cone
497b8c114e
Updated new tests
2022-04-20 22:02:13 -07:00
Jared Cone
bfbd810ae6
Updated new tests
2022-04-20 21:25:12 -07:00
Jared Cone
d20542efae
Updated tests to use deterministic tmp dir
2022-04-20 21:25:12 -07:00
Jared Cone
ec203595c1
Util for temporary directory
...
temdir() creates a random directory which isn't good for testing. Adding suppo
rt for a temporary named directory that cleans itself up before and after use. Adds a dependency on 'remove_dir_all' crate, but that crate was already
an implicit dependency through the 'tempfile' crate.
2022-04-20 21:25:12 -07:00
Jared Cone
b48e63e931
Fixed formatting and clippy errors
2022-04-20 21:25:11 -07:00
Jared Cone
66009c4b3c
Updated unit tests
2022-04-20 21:25:11 -07:00
Jared Cone
477055b0fb
Show relative path instead of full
...
Relative path is more concise and full path would not work well with unit testing expected output
2022-04-20 21:25:11 -07:00
Jared Cone
3243765eb4
Include file path in report
...
If the path is too long to fit in the 80 characters with everything else it will be truncated to '...foo/bar.roc'
2022-04-20 21:25:10 -07:00
Ayaz
2710b5ce2c
Merge pull request #2895 from rtfeldman/abilities-stage2
...
Abilities stage 2
2022-04-20 23:22:04 -04:00
Ayaz
e2a28347bb
Update compiler/test_gen/src/helpers/llvm.rs
...
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2022-04-20 22:50:31 -04:00
Ayaz
78ce0f8f3e
Update reporting/src/error/type.rs
...
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2022-04-20 22:50:23 -04:00
Ayaz
551e0b907e
Merge pull request #2905 from rtfeldman/perf-improvements
...
Minor perf improvements to generating type variable names
2022-04-20 22:50:07 -04:00
Richard Feldman
058bfdb8d0
Improve perf of finding type new type variables
2022-04-20 21:39:09 -04:00
Richard Feldman
132213245d
Add a way to convert Lowercase to &str
2022-04-20 21:39:09 -04:00
Richard Feldman
d903ac59f3
Make From<String> for IdentStr reuse allocation
2022-04-20 21:39:09 -04:00
Richard Feldman
6fb8481ebd
Report contents of stderr when example test fails
2022-04-20 20:43:39 -04:00