Ayaz Hafiz
a526fd92aa
inferred extension vars are material if they're not flex or empty
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
71e759a456
CLI platform effects are open by default
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
4f367e2608
Clippers lose to the Thunder, I lose to Clippy
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
9854f5f2ac
Print alias's underlying structures if OIOP vars are material
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
e1b6e0334b
Generate OIOP vars correctly
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
f37868256d
Update repl test
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
985bd7d23f
Format the codes
2022-10-31 09:38:22 -05:00
Ayaz Hafiz
bedb26124d
Update load tests
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
debe6332c5
Support OIOP for type aliases
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
6ee2fb496d
Do not check named arguments in both alias args and real typ
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
aa8a7b1ebc
Less aggressive inlining in debug builds
...
Being too aggressive about inlining in debug builds can result in huge
stack frames building up when inlined functions are contained in
non-tail-recursive, non-inlined function calls. This easily hits stack
overflows, so avoid it.
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
91dd47c5e4
Store OIOP variables in a unique buffer
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
cfe7c8e5ef
Warn on the presence of unnecessary wildcards in output positions
2022-10-31 09:38:20 -05:00
Ayaz Hafiz
d55dbbf0ae
Update load test to work around constraining bug
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
b98cfa3bd6
Update roc_ast constraining tests
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
85e58440de
Allow too many args
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
8d5678151d
Implement open-in-output-position for non-alias type annotations
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
0707739cfc
Prefer "tags are missing" error messages
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
ec4285c1dd
Work around constraining bug in gen test
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
42058c3067
Add note on bug in constraining
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
e7c7eb623e
Fail builds if builtins have type errors
2022-10-31 09:37:41 -05:00
Ayaz Hafiz
bb1f4cd5e8
Fix bug in closing heuristic
2022-10-31 09:37:40 -05:00
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
Anton-4
9576abe693
disable test-gen-llvm
...
I encountered a flaky error not seen before:
```
thread 'gen_abilities::ability_constrained_in_non_member_multiple_specializations_inferred' panicked at 'Error loading compiled dylib for test: LoadLibraryExW { source: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." } }', crates\compiler\test_gen\src\helpers\llvm.rs:327:23
```
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-31 14:11:00 +01: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
Anton-4
a26b2f7018
try rust cache
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-31 11:56:34 +01:00
Richard Feldman
d6853519d8
Expand repl TIPS
2022-10-31 06:53:27 -04:00
Anton-4
e86e2113ce
try out CPU env var
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-31 11:53:25 +01: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