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]: Syntax is wrong for on fail check expression #41094

Closed
prakanth97 opened this issue Jul 26, 2023 · 1 comment
Closed

[Bug]: Syntax is wrong for on fail check expression #41094

prakanth97 opened this issue Jul 26, 2023 · 1 comment
Assignees
Labels
Reason/EngineeringMistake The issue occurred due to a mistake made in the past. Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation

Comments

@prakanth97
Copy link
Contributor

Description

According to this, ballerina-platform/ballerina-spec#1197 (comment)

check E on fail x => F
F is an expression but at the moment in the, parser considering it as error-contructor-expression which is wrong.

Steps to Reproduce

No response

Affected Version(s)

on-fail-check feature branch

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@prakanth97 prakanth97 self-assigned this Jul 26, 2023
@prakanth97 prakanth97 added the Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. label Jul 26, 2023
@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Jul 26, 2023
@prakanth97 prakanth97 removed the needTriage The issue has to be inspected and labeled manually label Jul 26, 2023
@lochana-chathura lochana-chathura added the Reason/EngineeringMistake The issue occurred due to a mistake made in the past. label Aug 9, 2023
@lochana-chathura
Copy link
Member

Fixed in #41098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reason/EngineeringMistake The issue occurred due to a mistake made in the past. Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation
Projects
Archived in project
Development

No branches or pull requests

3 participants