Skip to content

Commit c16d4a3

Browse files
try to match previous error traces fairly closely
1 parent 5ce04d3 commit c16d4a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/vm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2434,11 +2434,11 @@ class Interpreter {
24342434
stack.top().kind = FRAME_STRING_CONCAT;
24352435
if (lhs.t != Value::STRING) {
24362436
ast_ = ast.left;
2437-
stack.newFrame(FRAME_TO_JSON, stack.top().location);
2437+
stack.newFrame(FRAME_TO_JSON, ast_->location);
24382438
goto recurse;
24392439
} else if (rhs.t != Value::STRING) {
24402440
ast_ = ast.right;
2441-
stack.newFrame(FRAME_TO_JSON, stack.top().location);
2441+
stack.newFrame(FRAME_TO_JSON, ast_->location);
24422442
goto recurse;
24432443
} else {
24442444
goto replaceframe;

0 commit comments

Comments
 (0)