Skip to content

Commit

Permalink
chore: remove semantic deps error
Browse files Browse the repository at this point in the history
  • Loading branch information
shramee committed Oct 31, 2023
1 parent 648e9f2 commit 2aeecf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion crates/dojo-lang/src/inline_macros/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ impl InlineMacroExprPlugin for GetMacro {
let mod_ast = ItemModule::from_syntax_node(db, module_syntax_node.clone());
mod_ast.name(db).as_syntax_node().get_text_without_trivia(db)
} else {
eprintln!("Error: Couldn't get the module name.");
"".into()
};

Expand Down
3 changes: 0 additions & 3 deletions crates/dojo-lang/src/inline_macros/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ impl InlineMacroExprPlugin for SetMacro {
let mod_ast = ItemModule::from_syntax_node(db, module_syntax_node.clone());
mod_ast.name(db).as_syntax_node().get_text_without_trivia(db)
} else {
eprintln!("Error: Couldn't get the module name.");
"".into()
};

Expand All @@ -115,8 +114,6 @@ impl InlineMacroExprPlugin for SetMacro {
let fn_ast = FunctionWithBody::from_syntax_node(db, fn_syntax_node.clone());
fn_ast.declaration(db).name(db).as_syntax_node().get_text_without_trivia(db)
} else {
// Unlikely to get here, but if we do.
eprintln!("Error: Couldn't get the function name.");
"".into()
};

Expand Down

0 comments on commit 2aeecf4

Please sign in to comment.