We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When a function returns value from another function call, the caller function return type reverts to "any".
To Reproduce This simple code tells everything.
local function failedReturnTypeDeduction() return string.sub("Hello", 2) end
Then hover your cursor to failedReturnTypeDeduction.
failedReturnTypeDeduction
Expected behavior failedReturnTypeDeduction return type should be string since string.sub returns string.
string
string.sub
Screenshots
Environment (please complete the following information):
Provide logs file_d%3A_Data_Development_love-11.3-win64_nlay.log
The text was updated successfully, but these errors were encountered:
821ef7b
No branches or pull requests
Describe the bug
When a function returns value from another function call, the caller function return type reverts to "any".
To Reproduce
This simple code tells everything.
Then hover your cursor to
failedReturnTypeDeduction
.Expected behavior
failedReturnTypeDeduction
return type should bestring
sincestring.sub
returnsstring
.Screenshots

Environment (please complete the following information):
Provide logs
file_d%3A_Data_Development_love-11.3-win64_nlay.log
The text was updated successfully, but these errors were encountered: