Skip to content

Commit ad7ca0b

Browse files
author
Derek Hower
committed
Fix adoc gen
1 parent d1b6ac5 commit ad7ca0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/idl/passes/gen_adoc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def gen_adoc(indent = 0, indent_spaces: 2)
161161

162162
class MultiVariableDeclarationAst
163163
def gen_adoc(indent = 0, indent_spaces: 2)
164-
"#{' ' * indent}#{type_name.gen_adoc(0, indent_spaces:)} #{var_names.map { |var| var.gen_adoc(0, indent_spaces:) }.join(', ')}"
164+
"#{' ' * indent}#{type_name.gen_adoc(0, indent_spaces:)} #{var_name_nodes.map { |var| var.gen_adoc(0, indent_spaces:) }.join(', ')}"
165165
end
166166
end
167167

0 commit comments

Comments
 (0)