about summary refs log tree commit diff
path: root/users/tazjin/rlox/src/errors.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-12-31T13·31+0300
committertazjin <mail@tazj.in>2020-12-31T14·32+0000
commitcc958e67309593b24634816c0c29d90eda84b3ed (patch)
treeb909bd04999db8c5a708f64adf71c8c504fb2511 /users/tazjin/rlox/src/errors.rs
parent8ab66f1689dade7c346d5a3b51b87194716e03a7 (diff)
feat(tazjin/rlox): Implement mutable variable assignment r/2033
Change-Id: I56db10a5ac26958ae27a8d4c8fa7b8f8285bc7e1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2299
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/rlox/src/errors.rs')
-rw-r--r--users/tazjin/rlox/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/rlox/src/errors.rs b/users/tazjin/rlox/src/errors.rs
index 2c29aa4c2f0a..162b80dc00d4 100644
--- a/users/tazjin/rlox/src/errors.rs
+++ b/users/tazjin/rlox/src/errors.rs
@@ -9,6 +9,7 @@ pub enum ErrorKind {
     TypeError(String),
     UndefinedVariable(String),
     InternalError(String),
+    InvalidAssignmentTarget(String),
 }
 
 #[derive(Debug)]