Skip to content

Commit 3afb750

Browse files
committed
compile_block_body_node sometimes gets a BeginNode
TODO: this isn't working yet
1 parent 728e2f2 commit 3afb750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/phlex/compiler/method_compiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def compile_phlex_block(node)
214214
end
215215

216216
def compile_block_body_node(node)
217-
node => Refract::StatementsNode
217+
node => Refract::StatementsNode | Refract::BeginNode
218218

219219
Refract::StatementsNode.new(
220220
body: [

0 commit comments

Comments
 (0)