Closed vickenty closed 4 years ago
{} in block or expression context should be parsed as an empty hash literal instead of a block.
LitHash and Block are split into empty and non-empty variants.
LitHashEmpty is added as a valid NonBraceLiteral, and corresponding invocations of Block were replaced with BlockNonEmpty.
{} in block or expression context should be parsed as an empty hash literal instead of a block.
LitHash and Block are split into empty and non-empty variants.
LitHashEmpty is added as a valid NonBraceLiteral, and corresponding invocations of Block were replaced with BlockNonEmpty.