Skip to content

Commit

Permalink
Print errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wrsturgeon committed Nov 3, 2023
1 parent 964dff2 commit 3b62e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automata/src/combinators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl<I: Input, S: Stack> ops::BitOr for Nondeterministic<I, S> {
self.tags = unwrap!(self.tags.merge(other_tags));
match self.sort().determinize() {
Ok(d) => d.generalize(),
Err(_e) => panic!("TODO: ERROR MESSAGE"),
Err(e) => panic!("{e}"),
}
}
}
Expand Down Expand Up @@ -119,7 +119,7 @@ impl<I: Input, S: Stack> ops::Shr for Nondeterministic<I, S> {
.determinize()
{
Ok(d) => d.generalize(),
Err(_e) => panic!("TODO: ERROR MESSAGE"),
Err(e) => panic!("{e}"),
}
}
}
Expand Down

0 comments on commit 3b62e34

Please sign in to comment.