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

[Improvement]: The error message is not clear while accessing an attribute with a reserved key name #43520

Open
Thiyanwso2 opened this issue Oct 24, 2024 · 0 comments
Labels
needTriage The issue has to be inspected and labeled manually Type/Improvement userCategory/Compilation

Comments

@Thiyanwso2
Copy link

Description

We have a record with an attribute name similar to a reserved key (resource). I encountered an error while accessing that attribute without a single quote in front of it. But here, the actual issue is that the error message is not clear or misleading in identifying the problem for a developer.

Screenshot 2024-10-24 at 11 45 51 Screenshot 2024-10-24 at 11 44 37

Describe your problem(s)

No response

Describe your solution(s)

No response

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 Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needTriage The issue has to be inspected and labeled manually Type/Improvement userCategory/Compilation
Projects
None yet
Development

No branches or pull requests

2 participants