Replies: 2 comments 2 replies
-
|
Currently, I haven't implemented global function overloading, but I have implemented this feature for xmake_ls. If you're interested, you can take a look for reference. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I have implement this feature: daf8fa7 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently in the process of implementing overloading in meta files via multiple declarations such as:
This method is also seen in luals. The reason for this is because there are times where a simple @overload is not so simple, or you want to document the overload in more detail (which is a separate feature I am working on a concept for as well). Short overloads in lua may be able to get away with, but when lua is an extension of another language with more complex function signatures like cpp/java, it can turn into absolute madness for external docs.
I am fairly new to the codebase and I am not sure if what I am doing is the correct way to be doing it. My two avenues I have gone down was:
I don't know if either of those approaches make sense for the project, so I am asking here for anyone who knows the project on what I should do here.
Beta Was this translation helpful? Give feedback.
All reactions