A problem with class declaration (cross-reference) #756
-
Can't declare something like this:
is it possible somehow? And another thing. Is it possible to declare default constructor of a class?
and in code it created as
how can I declare it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
For the first one, I think it is related to #631 and I have opened a PR #729 to fix this For the second one, I think you can declare the |
Beta Was this translation helpful? Give feedback.
-
@JohnnyMorganz BTW, is it possible declare function/variable as depricated? |
Beta Was this translation helpful? Give feedback.
For the first one, I think it is related to #631 and I have opened a PR #729 to fix this
For the second one, I think you can declare the
__call
metamethod__call: (string, string) -> Foo