forked from extern/nushell
input and output types (#5750)
* input and output types * added description * type from stored variable * string in custom value * more tests with non custom
This commit is contained in:
@ -126,9 +126,9 @@ fn with_operator(
|
||||
.into_value(lhs_span)),
|
||||
_ => Err(ShellError::OperatorMismatch {
|
||||
op_span,
|
||||
lhs_ty: Type::Custom,
|
||||
lhs_ty: Type::Custom(left.typetag_name().into()),
|
||||
lhs_span,
|
||||
rhs_ty: Type::Custom,
|
||||
rhs_ty: Type::Custom(right.typetag_name().into()),
|
||||
rhs_span,
|
||||
}),
|
||||
}
|
||||
|
Reference in New Issue
Block a user