Hi Nicolas,

I think I found a bug in nekoc when nekoc is used with -link option.

Situation #1 (error reproduce):
$ neko dummy.neko loader.neko
$ nekoc -link a.n loader
loader
dummy
Called from neko/Main.nml line 135
Called from neko/Linker.nml line 176
Called from core/Array.nml line 112
Called from neko/Bytecode.nml line 321
Called from core/Core.nml line 172
Called from core/Core.nml line 205
Called from core/Core.nml line 197
Exception : Invalid_argument( Array.get)


Situation #2 (no errors): remove (or comment) last line in loader.neko ("
Foo.zoo = function () {}")
$ neko dummy.neko loader.neko
$ nekoc -link a.n loader
loader
dummy


What is wrong? I use latest CVS sources of NekoVM.

--

BR,
Vitali Falileev
http://blog.insideable.com
ICQ: 75008864

Attachment: dummy.neko
Description: Binary data

Attachment: loader.neko
Description: Binary data

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to