Skip to content

Fix handling of empty anonhash#84

Merged
xsawyerx merged 1 commit intomasterfrom
anonhash
Jun 25, 2020
Merged

Fix handling of empty anonhash#84
xsawyerx merged 1 commit intomasterfrom
anonhash

Conversation

@vickenty
Copy link
Collaborator

{} 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.
@vickenty vickenty requested a review from xsawyerx June 25, 2020 11:09
@xsawyerx xsawyerx merged commit 30992e2 into master Jun 25, 2020
@xsawyerx xsawyerx deleted the anonhash branch June 25, 2020 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants