-
Notifications
You must be signed in to change notification settings - Fork 109
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
Return statement does not get type checked #639
Comments
@nikitug Are you sure you are running the latest version? It does produce the error in 0.15.1, and also testing online with the master branch: (Looks like there's a quirk in the playground — you need to edit something (e.g. prest Enter) so that the compiler refreshes, and then the "y" will appear underlined in red and when you hover it, it does say |
Closing this issue for now (I've opened one in the playground for the refresh issue) — feel free to reopen if you find a different test case where this problem persists! |
@hishamhm Thank you for your quick reply! You are right – I have not noticed I've been using a global executable from homebrew (not sure how I even have it though), not the one from my home dir with the latest version. |
I've noticed that the code below does not produce
unknown field y
error, but I'd expect it to do so.P.S. Thank you for the great Lua tools! :)
The text was updated successfully, but these errors were encountered: