Skip to content

Commit

Permalink
no %% around builtins in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Radvendii committed Aug 1, 2023
1 parent 9ff51ed commit f44235e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/eval/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ impl<R: ImportResolver, C: Cache> VirtualMachine<R, C> {
// Not using mk_type_error! because of a non-uniform message
Err(EvalError::TypeError(
String::from("String"),
String::from("%eval_nix% takes a string of nix code as an argument"),
String::from("eval_nix takes a string of nix code as an argument"),
arg_pos,
RichTerm { term: t, pos },
))
Expand Down

0 comments on commit f44235e

Please sign in to comment.