Add position information to while evaluating the attribute

This commit is contained in:
Rebecca Turner 2024-02-02 17:49:10 -08:00
parent 081dc5daa1
commit 016db2d10f
No known key found for this signature in database

View file

@ -1384,7 +1384,7 @@ void ExprSelect::eval(EvalState & state, Env & env, Value & v)
state, state,
*this, *this,
env, env,
state.positions[pos2], state.positions[getPos()],
"while evaluating the attribute '%1%'", "while evaluating the attribute '%1%'",
showAttrPath(state, env, attrPath)) showAttrPath(state, env, attrPath))
: nullptr; : nullptr;