Skip to content

Commit

Permalink
fix(semantic): transform checker output symbol names in errors
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Aug 21, 2024
1 parent d69e34e commit f91f810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_semantic/src/post_transform_checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ current scope {cur_scope_id:?}: {current_bindings:?}
let message = format!(
"
Symbol Mismatch:
previous symbol {prev_symbol_id:?}: {prev_symbol_id:?}
current symbol {cur_symbol_id:?}: {cur_symbol_id:?}
previous symbol {prev_symbol_id:?}: {prev_symbol_name:?}
current symbol {cur_symbol_id:?}: {cur_symbol_name:?}
"
);
self.errors.push(OxcDiagnostic::error(message.trim().to_string()));
Expand Down

0 comments on commit f91f810

Please sign in to comment.