summaryrefslogtreecommitdiff
path: root/runtime/js/40_error_stack.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_error_stack.js')
-rw-r--r--runtime/js/40_error_stack.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/40_error_stack.js b/runtime/js/40_error_stack.js
index 9bc6567a0..e73975044 100644
--- a/runtime/js/40_error_stack.js
+++ b/runtime/js/40_error_stack.js
@@ -5,11 +5,11 @@
const core = window.Deno.core;
function opFormatDiagnostics(diagnostics) {
- return core.jsonOpSync("op_format_diagnostic", diagnostics);
+ return core.opSync("op_format_diagnostic", diagnostics);
}
function opApplySourceMap(location) {
- const res = core.jsonOpSync("op_apply_source_map", location);
+ const res = core.opSync("op_apply_source_map", location);
return {
fileName: res.fileName,
lineNumber: res.lineNumber,