Possible bug in supplied OS/Jack Compiler

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Possible bug in supplied OS/Jack Compiler

Uli Kastlunger
Hello,

If a class has no member variables, instantiating will fail.

best regards,
uli
Reply | Threaded
Open this post in threaded view
|

Re: Possible bug in supplied OS/Jack Compiler

brbecker
I can confirm this bug. I had a class with only static variables and it throws ERR5 when the compiler code runs Memory.alloc(0). Adding a single junk "field" solved the problem.