forked from extern/nushell
Issue 1787 (#1827)
This commit is contained in:
@ -531,7 +531,8 @@ impl std::ops::Add for Value {
|
||||
|
||||
UntaggedValue::from(left.add(right)).into_value(tag)
|
||||
}
|
||||
(_, _) => unimplemented!("Internal error: can't add non-primitives."),
|
||||
(_, _) => UntaggedValue::Error(ShellError::unimplemented("Can't add non-primitives."))
|
||||
.into_value(tag),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user