Skip to content

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
sunrabbit123 committed Oct 10, 2023
1 parent c72935c commit b3b8618
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/stc_ts_file_analyzer/src/analyzer/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ impl Analyzer<'_, '_> {
let dep_id = match dep_id {
Some(v) => v,
None => {
dbg!(&base, dst);
self.storage.report(ErrorKind::ModuleNotFound { span }.into());

return (ctxt, Type::any(span, Default::default()));
Expand All @@ -41,8 +40,6 @@ impl Analyzer<'_, '_> {
let data = match self.data.imports.get(&(ctxt, dep_id)).cloned() {
Some(v) => v,
None => {
dbg!(&base, dst);

self.storage.report(ErrorKind::ModuleNotFound { span }.into());

return (ctxt, Type::any(span, Default::default()));
Expand Down

0 comments on commit b3b8618

Please sign in to comment.