mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Use tuple instead of an array
This commit is contained in:
parent
8b43a40a65
commit
2c67fe2c3f
3 changed files with 6 additions and 6 deletions
|
@ -241,7 +241,7 @@ module Ameba
|
|||
end
|
||||
|
||||
class TestNodeVisitor < Crystal::Visitor
|
||||
NODES = [
|
||||
NODES = {
|
||||
Crystal::NilLiteral,
|
||||
Crystal::Var,
|
||||
Crystal::Assign,
|
||||
|
@ -255,7 +255,7 @@ module Ameba
|
|||
Crystal::MacroLiteral,
|
||||
Crystal::Expressions,
|
||||
Crystal::ControlExpression,
|
||||
]
|
||||
}
|
||||
|
||||
def initialize(node)
|
||||
node.accept self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue