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

[Bug]: continue statement in ballerina doesn't work on do-on fail #42986

Open
1uffyD9 opened this issue Jun 26, 2024 · 0 comments
Open

[Bug]: continue statement in ballerina doesn't work on do-on fail #42986

1uffyD9 opened this issue Jun 26, 2024 · 0 comments
Labels
Area/CodeAnalysis Data flow , Code and Closure analysis related issues #Compiler Area/Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation

Comments

@1uffyD9
Copy link

1uffyD9 commented Jun 26, 2024

Description

Please note the title. continue statement throws an unreachable code error when we use it on do-on fail.

Steps to Reproduce

Please refer to the following code segment,

image

Affected Version(s)

Ballerina 2201.9.0 (Swan Lake Update 9)

OS, DB, other environment details and versions

Mac

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Jun 26, 2024
@nipunayf nipunayf added Area/Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Area/CodeAnalysis Data flow , Code and Closure analysis related issues #Compiler and removed needTriage The issue has to be inspected and labeled manually labels Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CodeAnalysis Data flow , Code and Closure analysis related issues #Compiler Area/Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation
Projects
None yet
Development

No branches or pull requests

3 participants