libexpr: don't determinePos in ExprBlackHole::eval

`v` is invalid, its position (if it exists at all) will be stale.

Change-Id: I79147c92fe6b2b077a9aa4783231b7aac05ef9d2
This commit is contained in:
eldritch horrors
2025-04-27 17:38:57 +00:00
parent 859c8caae2
commit abc26ca0d2
-1
View File
@@ -2107,7 +2107,6 @@ void ExprPos::eval(EvalState & state, Env & env, Value & v)
void ExprBlackHole::eval(EvalState & state, Env & env, Value & v)
{
state.ctx.errors.make<InfiniteRecursionError>("infinite recursion encountered")
.atPos(v.determinePos(noPos))
.debugThrow();
}