We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
begin
dsym
1 parent b92be07 commit 72c5a6dCopy full SHA for 72c5a6d
lib/unparser/emitter/dsym.rb
@@ -33,7 +33,7 @@ def emit_str_child(value)
33
34
def emit_begin_child(component)
35
write('#{')
36
- visit(unwrap_single_begin(component))
+ visit(unwrap_single_begin(component)) if component.children.any?
37
write('}')
38
end
39
end # DSym
test/corpus/semantic/literal.rb
@@ -12,3 +12,4 @@
12
10.2e10000000000
13
-10.2e10000000000
14
w(foo bar)
15
+{ "#{}": {} }
0 commit comments