diff options
Diffstat (limited to 'core/js_errors.rs')
-rw-r--r-- | core/js_errors.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/js_errors.rs b/core/js_errors.rs index 8429d731b..0e3f8cb91 100644 --- a/core/js_errors.rs +++ b/core/js_errors.rs @@ -1,11 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -// TODO: This currently only applies to uncaught exceptions. It would be nice to -// also have source maps for situations like this: -// const err = new Error("Boo!"); -// console.log(err.stack); -// It would require calling into Rust from Error.prototype.prepareStackTrace. - use crate::ErrBox; use rusty_v8 as v8; use std::convert::TryFrom; @@ -260,7 +254,6 @@ fn format_source_loc( line_number: i64, column_number: i64, ) -> String { - // TODO match this style with how typescript displays errors. let line_number = line_number; let column_number = column_number; format!("{}:{}:{}", file_name, line_number, column_number) |