ballerina-platform / ballerina-lang

The Ballerina Programming Language

Home Page:https://ballerina.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Getting NPE when calling `attachmentValue()` on `AnnotationAttachmentSymbol`

TharmiganK opened this issue · comments

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