diff --git a/src/ameba/ast/variabling/variable.cr b/src/ameba/ast/variabling/variable.cr index 13ba570c..3b1987d6 100644 --- a/src/ameba/ast/variabling/variable.cr +++ b/src/ameba/ast/variabling/variable.cr @@ -175,10 +175,6 @@ module Ameba::AST node.accept self end - def references?(node : Crystal::Var) - @macro_literals.any?(&.value.includes?(node.name)) - end - def visit(node : Crystal::ASTNode) true end