[chuck-users] class abuse
ge at ccrma.Stanford.EDU
Thu Oct 1 00:51:53 EDT 2009
> process(obj $ Specific); //  calls process(General obj)
> which produces the following (I've annotated the line numbers):
>  processing general object: Specific:5de400
> Line  is what bugs me: obj is cast to the Specific class, and the
> ChucK compiler _knows_ this at compile time. Yet it calls the
> process(General obj) function, NOT the process(Specific obj) function.
Yes, it would seem something is definitely amiss here - will look
into this bug more deeply! Thanks for the heads-up!
More information about the chuck-users