Commit graph

4668 commits

Author SHA1 Message Date
Ayaz Hafiz
7b9ce492c3
Better estimate polarity in exhaustiveness checking 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
69114cc820
Apply a heuristic for opening/closing types before exhaustiveness checking 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
895bf932db
Decide usages contextually based only on one type at a time 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
34be486a9e
Print wildcard in output position correctly 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
f3623b1e47
Close extension types extended wiht uninhabited types after their extension 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
4d48ea7c2f
Materialize extension variable polarity in error type reporting 2022-10-31 09:37:40 -05:00
Ayaz Hafiz
3c15ff4694
Correctly print wildcards as appropriate in error messages 2022-10-31 09:37:39 -05:00
Ayaz Hafiz
d77080529a
Introduce polarity for extension variable printing 2022-10-31 09:37:39 -05:00
Richard Feldman
81254ecb77
Drop unused import in wasm repl test 2022-10-31 09:20:34 -04:00
Richard Feldman
e9e4e710e2
clippy 2022-10-31 08:05:32 -04:00
Richard Feldman
eaa0824347
Fix wasm repl multiline string test 2022-10-31 08:03:22 -04:00
Richard Feldman
50ebffad5a
Fix Windows Readline error 2022-10-31 07:28:24 -04:00
Richard Feldman
9265d6480d
clippy 2022-10-31 07:12:57 -04:00
Richard Feldman
71bb6b3e7d
Update format_answer call in repl_wasm 2022-10-31 07:09:00 -04:00
Richard Feldman
7f1efae6e0
Drop obsolete test 2022-10-31 07:06:31 -04:00
Richard Feldman
664526a167
Fix repl multiline string test 2022-10-31 07:05:18 -04:00
Richard Feldman
212090769f
Fix repl handling of invalid layouts 2022-10-31 06:57:52 -04:00
Richard Feldman
d6853519d8
Expand repl TIPS 2022-10-31 06:53:27 -04:00
Richard Feldman
cb7ee6a43a
Have repl error eagerly on confirmed syntax errors 2022-10-31 06:40:38 -04:00
Richard Feldman
e6bd2a5f30
Handle syntax errors in repl 2022-10-31 06:22:35 -04:00
Richard Feldman
6227e37559
Ignore shadowing repl test for now 2022-10-31 06:17:48 -04:00
Richard Feldman
2b89f53e76
Right-align var_name if terminal under 80 chars 2022-10-31 06:14:43 -04:00
Richard Feldman
ea67b729c3
Fix a bunch of repl test trimming issues 2022-10-30 15:10:49 -04:00
Richard Feldman
8b4e864a90
Support opaques, aliases, and abilities in repl 2022-10-30 15:03:59 -04:00
Richard Feldman
9f7a38408a
Only consider the last line of stdout in repl tests 2022-10-30 14:54:28 -04:00
Richard Feldman
5fdca82519
Fix a test 2022-10-30 14:44:58 -04:00
Richard Feldman
23974dc753
Drop unused lifetime annotation 2022-10-30 14:42:00 -04:00
Richard Feldman
d7fd72c905
Fix eval-ing functions in repl 2022-10-30 14:41:57 -04:00
Richard Feldman
eebf973f11
repl treats whens as incomplete until blank line 2022-10-30 13:48:06 -04:00
Richard Feldman
fccc2ed497
Update panic message in repl 2022-10-30 13:35:49 -04:00
Richard Feldman
0c8f6a0a72
Fix annotated defs in repl 2022-10-30 13:34:38 -04:00
Richard Feldman
daa87093ca
Don't drop defs that would be shadowed 2022-10-30 12:42:20 -04:00
Richard Feldman
e38ae00c65
Expose macros for joining up AnnotatedBody nodes 2022-10-30 12:36:10 -04:00
Folkert
dbd0d30893
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-10-30 15:57:07 +01:00
Folkert
bbab077b16
make ret instruction finding more robust 2022-10-30 14:53:17 +01:00
Folkert
e14904bbe3
carriage return 2022-10-30 14:45:32 +01:00
Folkert
8816db1ff1
make paths consistent in cli tests 2022-10-30 14:40:39 +01:00
Folkert
9620140079
use timer instead of CLOCK in zig platforms 2022-10-30 13:46:21 +01:00
Folkert
7e1b2b8141
typo 2022-10-30 13:40:28 +01:00
Folkert
f91e358aff
don't use max-threads on windows 2022-10-30 13:28:09 +01:00
Folkert
ef9f2a4bdc
search for roc.exe on windows 2022-10-30 12:51:17 +01:00
Folkert
3865d94fb4
disallow valgrind on windows 2022-10-30 12:49:49 +01:00
Richard Feldman
c39ac00659
Add annotated_body repl test 2022-10-30 07:23:49 -04:00
Richard Feldman
99f4d99771
Revert "Attempt a refactor, but run into lifetime issues"
This reverts commit 4a9b44aaaf.
2022-10-30 07:22:32 -04:00
Richard Feldman
4a9b44aaaf
Attempt a refactor, but run into lifetime issues 2022-10-30 07:22:31 -04:00
Richard Feldman
fcfd9fa709
Move exhaustiveness_problem to repl state test 2022-10-30 07:22:31 -04:00
Richard Feldman
e0e25a48bf
Add comment_str 2022-10-30 07:17:10 -04:00
Folkert
7b449516ad
strip carriage return differently 2022-10-30 11:50:26 +01:00
Folkert
22e91e62c6
carriage return fixes for windows 2022-10-30 11:38:43 +01:00
Folkert
69fe0464f5
round up reloc image if on boundary 2022-10-30 11:15:01 +01:00