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]: Getting NPE when calling attachmentValue() on AnnotationAttachmentSymbol #42916

Open
TharmiganK opened this issue Jun 13, 2024 · 0 comments
Labels
Area/Compiler Area/SemanticAPI Semantic API Related Issues #Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug

Comments

@TharmiganK
Copy link
Contributor

Description

$Subject

Steps to Reproduce

Seems like we are returning Optional.of(null) when the annotation is not constant :

Affected Version(s)

Ballerina Swan Lake Update 9

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

@TharmiganK TharmiganK added Type/Bug Area/Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. labels Jun 13, 2024
@nipunayf nipunayf added the Area/SemanticAPI Semantic API Related Issues #Compiler label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Compiler Area/SemanticAPI Semantic API Related Issues #Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug
Projects
None yet
Development

No branches or pull requests

2 participants