Skip to content

Commit b5f9716

Browse files
committed
[js] Fix nqp::backtracestring
1 parent c6a9801 commit b5f9716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ op.backtracestrings = function(currentHLL, exception) {
15491549
for (const row of backtrace(exception)) {
15501550
const annotations = row.$$atkey('annotations');
15511551
const sub = row.$$atkey('sub');
1552-
lines.push((first ? ' at ' : ' from ') + annotations.$$atkey('file')+ ':'+ annotations.$$atkey('line') + ' (cuid ' + sub.cuid + ')');
1552+
lines.push((first ? ' at ' : ' from ') + annotations.$$atkey('file').value + ':'+ annotations.$$atkey('line').value + ' (cuid ' + sub.cuid + ')');
15531553
first = false;
15541554
}
15551555
return hll.list(currentHLL, lines);

0 commit comments

Comments
 (0)