From 59f50dc81a6afe8d2cd77d96ffb1d92f40c971cc Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 15 Aug 2022 01:13:17 +0300 Subject: feat(tvix/eval): Implement OpResolveWith instruction Change-Id: I4d2a69f28a6b6199b3ff48ef81135e7da9fe1c3b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6222 Tested-by: BuildkiteCI Reviewed-by: sterni Reviewed-by: grfn --- tvix/eval/src/errors.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tvix/eval/src/errors.rs') diff --git a/tvix/eval/src/errors.rs b/tvix/eval/src/errors.rs index e262d9def4..a5ba5bf400 100644 --- a/tvix/eval/src/errors.rs +++ b/tvix/eval/src/errors.rs @@ -28,6 +28,9 @@ pub enum Error { // Unknown variable in statically known scope. UnknownStaticVariable(rnix::types::Ident), + + // Unknown variable in dynamic scope (with, rec, ...). + UnknownDynamicVariable(String), } impl Display for Error { -- cgit 1.4.1