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

Shouldn't the annotation attachment table be updated for resource/remote method changes? #1283

Open
MaryamZi opened this issue Dec 11, 2023 · 0 comments
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design

Comments

@MaryamZi
Copy link
Member

Description:

method-defn does not include remote-method-defn and resource-method-defn.

Similarly, method-decl does not include remote-method-decl and resource-method-decl.

But in the annotation attachment point table,

  • function is defined for just function-defn, method-decl, method-defn, anonymous-function-expr
  • object function is defined for just method-decl, method-defn

Shouldn't these include resource and remote methods too?

Also, service remote function is defined for "method-defn with remote qualifier on service object". Can't this just be "remote-method-defn in/on service object"? Shouldn't this include (service) remote-method-decl too?

@anupama-pathirage anupama-pathirage added Type/Improvement Enhancement to language design Area/Lang Relates to the Ballerina language specification labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design
Projects
None yet
Development

No branches or pull requests

2 participants