You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
state.forceStringNoCtx(nameVal, i.pos, "while evaluating the name of a dynamic attribute");
1346
-
auto nameSym = state.symbols.create(nameVal.string.s);
1346
+
auto nameSym = state.symbols.create(nameVal.string_view());
1347
1347
Bindings::iterator j = v.attrs->find(nameSym);
1348
1348
if (j != v.attrs->end())
1349
1349
state.error("dynamic attribute '%1%' already defined at %2%", state.symbols[nameSym], state.positions[j->pos]).atPos(i.pos).withFrame(env, *this).debugThrow<EvalError>();
error("the string '%1%' is not allowed to refer to a store path (such as '%2%')", v.string.s, v.string.context[0]).withTrace(pos, errorCtx).debugThrow<EvalError>();
2185
+
if (v.context()) {
2186
+
error("the string '%1%' is not allowed to refer to a store path (such as '%2%')", v.string_view(), v.context()[0]).withTrace(pos, errorCtx).debugThrow<EvalError>();
0 commit comments