-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Compiler hangs when cgenerator.lua errors #260
Labels
Comments
Indeed this is a bug, a shorter example is: local function f(a: auto) local b return b end
f() I know the cause, but not fixing soon, it's tricky, might be fixed when the language improves support for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
The compiler hangs when running the following example:
Expected behavior
Error saying any type not supported yet or something to that effect. Currently it freezes, was tough to track down since I was working on a lot of code at once (porting code from lua).
Workaround
Explicitly putting the in the type.
Environment
Provide relevant information about your environment:
Nelua 0.2.0-dev
Build number: 1615
Git date: 2024-04-20 09:45:08 -0300
Git hash: 9f75e00
Semantic version: 0.2.0-dev.1615+9f75e009
Copyright (C) 2019-2024 Eduardo Bart (https://nelua.io/)
Windows 10 x64
The text was updated successfully, but these errors were encountered: