Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kefniark
Copy link
Contributor

@kefniark kefniark commented May 4, 2021

Description

  • Add the loop continue keyword
  • Allow for return to not have a value
  • Fix issue with index variable
  • Fix some issue with Id
counter = 0
for a := [1,2] {
  for b := [3,4] {
    for c, index := [1,2,3,4] {
      if counter >= 3 {
        continue
      }
      counter += c
    }
    counter += b
  }
  counter += a
}

TODO

  • Until & Infinite loop implementation

@sonarqubecloud
Copy link

sonarqubecloud bot commented May 4, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kefniark kefniark merged commit 9a02d15 into develop May 4, 2021
@kefniark kefniark deleted the feature/loopImprovement branch May 9, 2021 07:51
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