Skip to content

Commit 57caa25

Browse files
committed
Fix up formatting
1 parent acd8238 commit 57caa25

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

Diff for: tasks/sorbet.rake

+20-9
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ module SyntaxTree
2424
ConstPathRef(VarRef(Const("SyntaxTree")), Const("BasicVisitor")),
2525
nil,
2626
BodyStmt(
27-
Statements(generate_visitor("overridable")), nil, nil, nil, nil
27+
Statements(generate_visitor("overridable")),
28+
nil,
29+
nil,
30+
nil,
31+
nil
2832
),
2933
location
3034
)
@@ -254,10 +258,14 @@ module SyntaxTree
254258
Ident(override),
255259
Period("."),
256260
sig_params do
257-
BareAssocHash([
258-
Assoc(Label("node:"),
259-
sig_type_for(SyntaxTree.const_get(name)))
260-
])
261+
BareAssocHash(
262+
[
263+
Assoc(
264+
Label("node:"),
265+
sig_type_for(SyntaxTree.const_get(name))
266+
)
267+
]
268+
)
261269
end,
262270
nil
263271
),
@@ -269,10 +277,13 @@ module SyntaxTree
269277
)
270278
end
271279

272-
body << generate_def_node(node.visitor_method, Paren(
273-
LParen("("),
274-
Params.new(requireds: [Ident("node")], location: location)
275-
))
280+
body << generate_def_node(
281+
node.visitor_method,
282+
Paren(
283+
LParen("("),
284+
Params.new(requireds: [Ident("node")], location: location)
285+
)
286+
)
276287

277288
@line += 2
278289
end

0 commit comments

Comments
 (0)