Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Fix parsing of arrow type with objects in constructor declaration args #410

Merged
merged 1 commit into from
May 13, 2021

Conversation

IwanKaramazow
Copy link
Contributor

Fixes #409

The parser should parse type queryDelta = Compute({"blocked_ids": unit} => unit) without parens surrounding the object type-expr {"blocked_ids": unit}. The parens are optional in this case. In other places like {"blocked_ids": unit} => unit, this was already the case.

Fixes #409

The parser should parse `type queryDelta = Compute({"blocked_ids": unit} => unit)` without parens surrounding the object type-expr `{"blocked_ids": unit}`. The parens are optional in this case.
In other places like `{"blocked_ids": unit} => unit`, this was already the case.
@IwanKaramazow IwanKaramazow merged commit 945a7a6 into master May 13, 2021
@IwanKaramazow IwanKaramazow deleted the GH409 branch May 13, 2021 06:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot parse variant constructor containing object and fat arrow
2 participants