Reword incomparable types message
This commit is contained in:
parent
520404f450
commit
512f6be9b5
|
@ -586,7 +586,7 @@ struct CompareValues
|
|||
}
|
||||
default:
|
||||
state.debugThrowLastTrace(EvalError({
|
||||
.msg = hintfmt("%scannot compare %s with %s: nix does not define an ordering for that type", errorCtx, showType(*v1), showType(*v2)),
|
||||
.msg = hintfmt("%scannot compare %s with %s; values of that type are incomparable", errorCtx, showType(*v1), showType(*v2)),
|
||||
.errPos = std::nullopt,
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue