You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler hangs when running the following example:
localRTest= @record {}
functionRTest:run(a: auto) -- remove: `a: auto` to see the actual error##ifa.type.is_niltypethenlocala=0##endlocalx: sequence(integer)
localyreturnx, yendlocalr: RTestr:run()
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:
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: