roc/crates
Ayaz Hafiz 1799d6ed0e
Construct exhaustiveness branches with condition, not branch, variable
Previously we would construct the shapes of unions used in the pattern
tree for exhaustiveness checking using the type of the branch patterns,
rather than the type of the condition variable. Clearly we want to
always use the condition variable, otherwise some branches will be
seen as exhaustive, when they are not!

To do this, we now index into the condition variable while refying the
patterns to build the tree for exhaustiveness checking.

Closes #4068
2022-09-19 13:37:59 -05:00
..
ast Bump bumpalo from 3.10.0 to 3.11.0 2022-09-12 21:08:56 +00:00
cli Change example to be a calculator 2022-09-14 12:06:35 -05:00
cli_utils Rephrase "cross-platform" to "cross-target" 2022-09-11 10:25:02 -06:00
code_markup Bump bumpalo from 3.10.0 to 3.11.0 2022-09-12 21:08:56 +00:00
compiler Construct exhaustiveness branches with condition, not branch, variable 2022-09-19 13:37:59 -05:00
docs Merge pull request #3971 from roc-lang/dependabot/cargo/bumpalo-3.11.0 2022-09-13 21:00:00 +02:00
docs_cli Bump clap from 3.2.18 to 3.2.20 2022-09-12 10:33:19 +00:00
editor Bump bumpalo from 3.10.0 to 3.11.0 2022-09-12 21:08:56 +00:00
error_macros Rephrase CPU-related "platform"/"host" to "target"/"your machine" 2022-09-11 10:25:02 -06:00
glue Merge pull request #3989 from roc-lang/fix-glue-segfault 2022-09-13 13:47:51 -07:00
highlight changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
linker Merge pull request #3971 from roc-lang/dependabot/cargo/bumpalo-3.11.0 2022-09-13 21:00:00 +02:00
repl_cli Bump bumpalo from 3.10.0 to 3.11.0 2022-09-12 21:08:56 +00:00
repl_eval Unwrap recursion var 2022-09-14 11:26:49 -05:00
repl_expect Copy list values from the correct offset when reporting expects 2022-09-14 14:28:56 -05:00
repl_test Rephrase CPU-related "platform"/"host" to "target"/"your machine" 2022-09-11 10:25:02 -06:00
repl_wasm Merge pull request #4029 from roc-lang/disable-web-repl-until-loaded 2022-09-14 05:36:31 +01:00
reporting Construct exhaustiveness branches with condition, not branch, variable 2022-09-19 13:37:59 -05:00
roc_std replace unsound MaybeUninit deref with ptr::copy 2022-08-29 17:00:03 +02:00
test_utils Bump pretty_assertions from 1.2.1 to 1.3.0 2022-09-12 05:28:00 +00:00
tracing Remove old file if it was present 2022-08-23 15:42:54 -05:00
utils changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
vendor s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
wasi-libc-sys s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00