Is it possible to force Glider to ignore specific errors?
this line causes an error ==> controller:instancerGet()“StartView”
Thanks [import]uid: 75874 topic_id: 32268 reply_id: 332268[/import]
Is it possible to force Glider to ignore specific errors?
this line causes an error ==> controller:instancerGet()“StartView”
Thanks [import]uid: 75874 topic_id: 32268 reply_id: 332268[/import]
I also get warnings on each require: (required file was not found)
require “ui.menu.MenuButton”
require “ui.menu.ButtonMenu”
require “ui.menu.PopUpMenu”
require “drawing.LineDrawer”
All works fine in the simulator and on android?
Thanks
[import]uid: 75874 topic_id: 32268 reply_id: 128385[/import]
I also get warnings on each require: (required file was not found)
require “ui.menu.MenuButton”
require “ui.menu.ButtonMenu”
require “ui.menu.PopUpMenu”
require “drawing.LineDrawer”
All works fine in the simulator and on android?
Thanks
[import]uid: 75874 topic_id: 32268 reply_id: 128385[/import]
Hello Samuel,
“this line causes an error ==> controller:instancerGet()“StartView””
We are working on a parser that will be able to digest this type of code. The current implementation will probably get confused with such constructs. Given the dynamic nature of Lua creating a parser/Lua VM implementation that can understand all constructs such as this one is challenging. Please don’t get me wrong, not saying its bad code, its quite elegant actually. It just requires a custom Lua VM made specifically for IDE/editing environment (what we are working on) in order to extract usable information.
So for the meantime you can disable these warnings if you wish via options->Glider options-> Editor -> Warnings.
“I also get warnings on each require”
Please ensure you are using the most recent version (1.7.2). You can update via help-> Check for updates.
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 32268 reply_id: 128806[/import]
Hello Samuel,
“this line causes an error ==> controller:instancerGet()“StartView””
We are working on a parser that will be able to digest this type of code. The current implementation will probably get confused with such constructs. Given the dynamic nature of Lua creating a parser/Lua VM implementation that can understand all constructs such as this one is challenging. Please don’t get me wrong, not saying its bad code, its quite elegant actually. It just requires a custom Lua VM made specifically for IDE/editing environment (what we are working on) in order to extract usable information.
So for the meantime you can disable these warnings if you wish via options->Glider options-> Editor -> Warnings.
“I also get warnings on each require”
Please ensure you are using the most recent version (1.7.2). You can update via help-> Check for updates.
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 32268 reply_id: 128806[/import]
ok, thank you for the info. [import]uid: 75874 topic_id: 32268 reply_id: 129041[/import]
ok, thank you for the info. [import]uid: 75874 topic_id: 32268 reply_id: 129041[/import]