get basic wiring of a value through the compiler

This commit is contained in:
Brendan Hansknecht 2023-03-22 22:26:02 -07:00
parent 5354637cec
commit f4411afbbc
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
8 changed files with 22 additions and 5 deletions

View file

@ -1906,7 +1906,8 @@ fn expr_to_pattern_help<'a>(arena: &'a Bump, expr: &Expr<'a>) -> Result<Pattern<
is_negative,
},
// These would not have parsed as patterns
Expr::AccessorFunction(_)
Expr::IngestedFile(_)
| Expr::AccessorFunction(_)
| Expr::RecordAccess(_, _)
| Expr::TupleAccess(_, _)
| Expr::List { .. }