You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extra comma has no effect UNLESS the value being passed to a block is an array. (i.e. the second element in the example above)
Problem is easily fixed by setting an opt-in flag when initializing the parser gem, which will produce the correct result.
The down side is that to process the resulting AST tree, we have to upgrade the unparser gem to latest which has a bug #127 but fortunately this problem produces an obvious error, and has an obvious work around.
The text was updated successfully, but these errors were encountered:
i.e.
gets transmitted to the client side as
The extra comma has no effect UNLESS the value being passed to a block is an array. (i.e. the second element in the example above)
Problem is easily fixed by setting an opt-in flag when initializing the parser gem, which will produce the correct result.
The down side is that to process the resulting AST tree, we have to upgrade the unparser gem to latest which has a bug #127 but fortunately this problem produces an obvious error, and has an obvious work around.
The text was updated successfully, but these errors were encountered: