feat(tazjin/rlox): Add runtime type error handling

Change-Id: I0d52bc9ff5be6421cb4131265ed28ce1ea7d8ff3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2282
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2020-12-19 13:13:33 +01:00 committed by tazjin
parent bc6775c318
commit 5ebe28cca2
2 changed files with 32 additions and 14 deletions

View file

@ -4,6 +4,7 @@ pub enum ErrorKind {
UnterminatedString,
UnmatchedParens,
ExpectedExpression(String),
TypeError(String),
}
#[derive(Debug)]