diff options
author | Florian Klink <flokli@flokli.de> | 2024-06-25T19·51+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-06-26T04·51+0000 |
commit | 970e2a045bb051861f65b19d8ede144b271ecd4b (patch) | |
tree | ac3f87c4f1e16c7578b509173e08985be15fdaec /tvix/eval/src/vm/mod.rs | |
parent | ea6f51124108361d2e9946ba1122ba7384173722 (diff) |
refactor(tvix/eval): rename UnexpectedArgument{,Formals} r/8308
There's other places where unexpected arguments can be provided, like in builtins. Make space for that error type. Change-Id: Ic831497a3a1dd36a3a184bedadcf1374bf0ae6db Reviewed-on: https://cl.tvl.fyi/c/depot/+/11876 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/vm/mod.rs')
-rw-r--r-- | tvix/eval/src/vm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/vm/mod.rs b/tvix/eval/src/vm/mod.rs index 1fa9eba4bc5f..48dcdfc8df47 100644 --- a/tvix/eval/src/vm/mod.rs +++ b/tvix/eval/src/vm/mod.rs @@ -797,7 +797,7 @@ where if !formals.contains(arg) { return frame.error( self, - ErrorKind::UnexpectedArgument { + ErrorKind::UnexpectedArgumentFormals { arg: arg.clone(), formals_span: formals.span, }, |