Fix DebuggerDump serialization of keyless collections
commitac8ba38ea8e0c2d537454ef337d080ba5a30dfc6
authorAlex Malyshev <alexanderm@fb.com>
Sat, 7 Feb 2015 01:02:35 +0000 (6 17:02 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 7 Feb 2015 01:30:35 +0000 (6 17:30 -0800)
tree0f8bf2f0b96ef2b0ef6b9b1995ecb0a3408abb18
parent1c890d11e58c7929388e9755ffc2a89cdc06020f
Fix DebuggerDump serialization of keyless collections

Summary: Right now it prepends a comma without indenting, which is just weird and
unreadable. Switch it to just indent so that it matches the other collections.

Before:

  HH\Set Object
  (
  5
  ,3
  )

After:

  HH\Set Object
  (
      5
      3
  )

Reviewed By: @​wmay

Differential Revision: D1831709
hphp/runtime/base/variable-serializer.cpp