-
Notifications
You must be signed in to change notification settings - Fork 26
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
Functions declaration #49
Comments
well, your issue is really detailed, thanks again, I will try to fix it later. |
…xx = foo(params).foo()`的表达式,`xx`变量的类型推导失败的问题
@liwangqian CASE 1 and CASE 2 are resolved but CASE 3 partially: Thank you for your efforts. |
about CASE 2 |
@labraxoid For the Case 3 you describe up, we use the first definition of a symbol and will not change it's definition even thought we redefined it after some codes, so this case will not be resolved. And, for the second case, the API description file |
in CASE 3 is not about redefining, it is about different ways of function definition in Lua. The variable 'foo' is nil, we do not define it, we only declare. If we use way Thank you for extension of API completions. I will try it in next version. |
@labraxoid Try the Ver2.2.8, CASE 3 is fixed in this version. |
BUG in v.2.2.5 ( macOS 10.13.6 )
I am currently creating Corona completions to add it to LuaCoderAssist like added Love compilations and discovered strange symbols behavior when declaring and defining functions.
In the first case problem with adding new fields to returned table (CASE 1):
In the second case problem is inclusion all fields in one object, but in Lua it is not true (CASE 2):
Alternative definition of the function (CASE 3):
And once I caught this bug:
Thanks for LuaCoderAssist!
I hope my report will help make it better.
The text was updated successfully, but these errors were encountered: