chore(tvix/eval): return parse errors out of eval::interpret

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>
This commit is contained in:
Vincent Ambo 2022-08-15 01:47:30 +03:00 committed by tazjin
parent 89f566ef57
commit 0257f89917
2 changed files with 10 additions and 2 deletions

View file

@ -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 {