Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 169243a

Browse files
author
Aaron Leung
committed
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.
1 parent 55d8267 commit 169243a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval_apply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ namespace Sass {
286286

287287
case Node::variable: {
288288
if (!env.query(expr.token())) throw_eval_error("reference to unbound variable " + expr.token().to_string(), expr.path(), expr.line());
289-
return new_Node(expr.path(), expr.line(), env[expr.token()]);
289+
return env[expr.token()];
290290
} break;
291291

292292
case Node::image_url: {

0 commit comments

Comments
 (0)