Hi,

On Monday 08 March 2004 16:40, Leopold Toetsch wrote:
> Jens Rieks <[EMAIL PROTECTED]> wrote:
> >>         $P0 = new Foo
> >
> > This is wrong. Use $P0 = new "Foo" instead.
>
> No. There isn't even such an opcode. Above code is fine and working,
> because during compilation of "loadlib", the class file gets already
> loaded so that the type is registered. This might change in the future,
> so that
>
>   find_type I0, "Foo"
>   new P0, I0
>
> must be used.
Oops, sorry for the wrong information. I mixed up new and find_type...

> > "new Foo" evaules to "new -1" due to a bug (?) in IMCC.
>
> It is 52 as you can see in the trace.

> > jens
>
> leo
jens

Reply via email to