ReducedAST: Match -> CaseMatch

makes it easier to grep for
This commit is contained in:
greg 2018-08-14 12:37:18 -07:00
parent 9debdd8d66
commit f2ded78776

View File

@ -48,7 +48,7 @@ pub enum Expr {
then_clause: Vec<Stmt>,
else_clause: Vec<Stmt>,
},
Match {
CaseMatch {
cond: Box<Expr>,
alternatives: Vec<Alternative>
},
@ -182,7 +182,7 @@ fn reduce_if_expression(discriminator: &Discriminator, body: &IfExpressionBody,
},
];
Expr::Match {
Expr::CaseMatch {
cond,
alternatives,
}