Start on CaseMatch eval

This commit is contained in:
greg 2018-08-14 12:43:06 -07:00
parent f2ded78776
commit 6833bc4f00
1 changed files with 3 additions and 1 deletions

View File

@ -209,7 +209,9 @@ impl<'a> State<'a> {
self.values.insert(name.clone(), ValueEntry::Binding { constant: false, val });
Ok(Node::Expr(Expr::Unit))
},
e => Err(format!("Expr {:?} eval not implemented", e))
Unit => Ok(Node::Expr(Unit)),
CaseMatch { cond, alternatives } => unimplemented!(),
UnimplementedSigilValue => Err(format!("Sigil value eval not implemented"))
}
}
}