diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-14T22·47+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-31T22·42+0000 |
commit | 0257f89917e479b77b231724c13192ec23258269 (patch) | |
tree | 7dc6cb2e77066cc26478ffaaed79831432aac14c /tvix/eval/src/errors.rs | |
parent | 89f566ef5782c967e14eee5727dce2740a3c24b4 (diff) |
chore(tvix/eval): return parse errors out of eval::interpret r/4558
Change-Id: I14f25b9c85260c68be38abf07ed80121ead60c7b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6224 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/errors.rs')
-rw-r--r-- | tvix/eval/src/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/eval/src/errors.rs b/tvix/eval/src/errors.rs index a5ba5bf40059..07ee8a4c7dae 100644 --- a/tvix/eval/src/errors.rs +++ b/tvix/eval/src/errors.rs @@ -31,6 +31,8 @@ pub enum Error { // Unknown variable in dynamic scope (with, rec, ...). UnknownDynamicVariable(String), + + ParseErrors(Vec<rnix::parser::ParseError>), } impl Display for Error { |