remove catchall pattern in eval

This commit is contained in:
Scott Richmond 2024-11-07 19:04:58 -05:00
parent 28d1c7ab0c
commit 7819472048

View File

@ -159,6 +159,23 @@ pub fn eval<'src, 'a>(
None => Err(LudusError { msg: "No match" }),
}
}
_ => todo!(),
Ast::Error => todo!(),
Ast::Dict(_) => todo!(),
Ast::Arguments(_) => todo!(),
Ast::Pair(_, _) => todo!(),
Ast::Box(_, _) => todo!(),
Ast::Synthetic(_, _, _) => todo!(),
Ast::When(_) => todo!(),
Ast::WhenClause(_, _) => todo!(),
Ast::Match(_, _) => todo!(),
Ast::MatchClause(_, _) => todo!(),
Ast::Fn(_, _) => todo!(),
Ast::FnDeclaration(_) => todo!(),
Ast::FnClause(_, _) => todo!(),
Ast::Panic(_) => todo!(),
Ast::Repeat(_, _) => todo!(),
Ast::Do(_) => todo!(),
Ast::Loop(_, _) => todo!(),
Ast::Recur(_) => todo!(),
}
}