millermedeiros/esformatter — pull request #101 by jzaefferer (2013-12-07 19:00:32+00:00)
Title: ArrayExpression: Add a test for array expression getting bad whitespace

Only happens when MemberExpressionOpening/Closing are set to 1 and a MemberExpression is after (or before?) the empty ArrayExpression.

This three ExpressionStatements in the test are the minimum I found for reproducing the bug. Anything less and the bug disappears.

Haven't yet looked into what is causing this. Was rather painful to produce a minimal testcase...