Commit 169243a3 by Aaron Leung

Eh, not doing the cloning thing after all. If there's an error in the argument…

Eh, not doing the cloning thing after all. If there's an error in the argument to a built-in function, just report the entire call site rather than the location of the argument.
parent 55d82671
......@@ -286,7 +286,7 @@ namespace Sass {
case Node::variable: {
if (!env.query(expr.token())) throw_eval_error("reference to unbound variable " + expr.token().to_string(), expr.path(), expr.line());
return new_Node(expr.path(), expr.line(), env[expr.token()]);
return env[expr.token()];
} break;
case Node::image_url: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment