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

compiler: implement switch statement #628

Closed
fyrchik opened this issue Jan 29, 2020 · 0 comments
Closed

compiler: implement switch statement #628

fyrchik opened this issue Jan 29, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@fyrchik
Copy link
Collaborator

@fyrchik fyrchik commented Jan 29, 2020

Implement switch statement. Type-switches are probably of no use in smart-contract.

  • basic switch statement
  • multiple expressions in case
  • support fallthrough
  • support break
@fyrchik fyrchik added the compiler label Jan 29, 2020
roman-khimov added a commit that referenced this issue Jan 29, 2020
compiler: implement switch statement support

Implements 1 & 2 from #628.
roman-khimov added a commit that referenced this issue Feb 21, 2020
compiler: support break statement in for loops and switch statements

Closes #677.
Implements 4-th point from #628.
fyrchik added a commit that referenced this issue Mar 10, 2020
Closes #628.
@fyrchik fyrchik self-assigned this Mar 10, 2020
@roman-khimov roman-khimov added this to the v0.74.0 milestone Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.