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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user