Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: ASI #74

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft

WIP: ASI #74

wants to merge 35 commits into from

Conversation

soc
Copy link
Collaborator

@soc soc commented Dec 16, 2022

Remaining failure classes:

  • if x \n ...
  • function bodies need explicit return
  • enum variants need trailing ,
  • struct fields need trailing ,
  • class fields need trailing ,
  • match bodies need trailing ,
  • match needs ;

- Allow multiple if-cases.
- Conditions can be split into a common discriminator and continuations in individual if-cases.
  Though not strictly required, we use a token (`...`) to explicitly indicate this construct.

fixes #5
Providing syntax sugar for side-effecting functions is the wrong way to go.

fixes #3
…`, `swap`, ``toOption` to `Result`

fixes #57
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.

1 participant