Skip to content

Commit 4cb0fc2

Browse files
committed
RUBY-24836 fixup
1 parent 43ba294 commit 4cb0fc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ def do_print_hash(hash)
161161
else
162162
name = exec_with_allocation_control(k, :to_s, OverflowMessageType::EXCEPTION_MESSAGE)
163163
end
164+
165+
if k.nil?
166+
name = 'nil'
167+
end
168+
164169
print_variable(name, v, 'instance')
165170
}
166171
end

0 commit comments

Comments
 (0)