Skip to content

BallerinaMethodSymbol and BallerinaSymbol #29778

Answered by pubudu91
dulajdilshan asked this question in Q&A
Discussion options

You must be logged in to vote

Didn't extend from BallerinaSymbol at that time because there wasn't any particular reason to do so. The method symbol is basically a wrapper around a function symbol. We just simply call the function symbol's methods for each of the methods. This is for that NPE issue when looking up references of methods in classes right? No harm in extending from BallerinaSymbol. Since these are internal implementation details, we can change these as we see fit.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dulajdilshan
Comment options

dulajdilshan Apr 2, 2021
Collaborator Author

Answer selected by dulajdilshan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants