mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
fix ordering bug in pattern exhaustiveness
This commit is contained in:
parent
f0aa598ff9
commit
b2a713915b
3 changed files with 109 additions and 6 deletions
|
@ -935,7 +935,7 @@ fn path_to_expr_help<'a>(
|
|||
) -> (Expr<'a>, Layout<'a>) {
|
||||
match path {
|
||||
Path::Unbox(ref unboxed) => match **unboxed {
|
||||
_ => todo!(),
|
||||
_ => (Expr::Load(symbol), layout),
|
||||
},
|
||||
|
||||
Path::Empty => (Expr::Load(symbol), layout),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue