Closed GoogleCodeExporter closed 9 years ago
Original comment by eonstorm@gmail.com
on 1 Jul 2010 at 5:33
Fixed in r15.
Original comment by eonstorm@gmail.com
on 1 Jul 2010 at 5:37
The changes done in r15 broke the shortcut notations to the luanet object:
luanet.System.Windows.Forms.MessageBox.Show("Test")
worked before these changes, after them it doesn't work anymore. This is rather
awkward because in the binary download (ver. 2.0.3.7) this bug doesn't exist
yet, so using the binary works, but downloading and compiling it myself got me
this interesting bug.
This still works after the change:
luanet["System.Windows.Forms.MessageBox"].Show("Test")
This is because load_assembly now raises an exception instead of failing
silently and the init_luanet code in Lua.cs relied on this behaviour.
I fixed it in my version by simply commenting out the throwError() call in the
ObjectTranslator.cs:loadAssembly() function. There are propably better ways to
fix this.
Original comment by Luelis...@gmail.com
on 22 Feb 2012 at 3:08
Original issue reported on code.google.com by
eonstorm@gmail.com
on 30 Jun 2010 at 8:35