[Bug]: Resource function parameter annotations are missing when we have the quoted identifier in the path #41877
Labels
Priority/High
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Description
When the resource function has a quoted identifier as a path segment, the annotations on the function parameters are missing in the
BResourceMethodType
. But I could see the annotation information in theResourceMethodSymbol
. So the issue might be related to runtime.Steps to Reproduce
Use the following code to reproduce the issue:
BResourceMethodType
for the resource with the quoted identifier -'2023/locations
:BResourceMethodType
for the resource without the quoted identifier -locations
:ResourceMethodSymbol
for the resource with the quoted identifier:Affected Version(s)
Ballerina SwanLake Update 8
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: