mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-04 00:54:36 +00:00
Remove backpassing
This commit is contained in:
parent
b8040bf6a2
commit
cbcbfd3265
94 changed files with 231 additions and 2246 deletions
|
@ -1148,9 +1148,6 @@ pub fn canonicalize_expr<'a>(
|
|||
ast::Expr::RecordBuilder { .. } => {
|
||||
internal_error!("Record builder should have been desugared by now")
|
||||
}
|
||||
ast::Expr::Backpassing(_, _, _) => {
|
||||
internal_error!("Backpassing should have been desugared by now")
|
||||
}
|
||||
ast::Expr::RecordUpdater(_) => {
|
||||
internal_error!("Record updater should have been desugared by now")
|
||||
}
|
||||
|
@ -2219,7 +2216,6 @@ pub fn is_valid_interpolation(expr: &ast::Expr<'_>) -> bool {
|
|||
| ast::Expr::LowLevelDbg(_, _, _)
|
||||
| ast::Expr::Return(_, _)
|
||||
| ast::Expr::When(_, _)
|
||||
| ast::Expr::Backpassing(_, _, _)
|
||||
| ast::Expr::SpaceBefore(_, _)
|
||||
| ast::Expr::Str(StrLiteral::Block(_))
|
||||
| ast::Expr::SpaceAfter(_, _) => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue