Readability-related refactors

This commit is contained in:
Sijawusz Pur Rahnama 2022-11-14 01:24:29 +01:00
parent a6ebb48f14
commit e668ba5bf5
24 changed files with 89 additions and 61 deletions

View file

@ -191,7 +191,7 @@ module Ameba::AST
it "returns true if node is nested to Crystal::Macro" do
nodes = as_nodes %(
macro included
{{@type.each do |type| a = type end}}
{{ @type.each do |type| a = type end }}
end
)
outer_scope = Scope.new nodes.macro_nodes.first