[chuck-users] cross-referenced classes?
Tom Lieber
lieber at princeton.edu
Thu Mar 12 23:37:53 EDT 2009
2009/3/12 Robert Poor <rdpoor at gmail.com>:
> Assume I have the following:
>
> ===== file: scratch.ck =====
> public class Scratch {
> Sniff _sniff;
> }
> ===== EOF =====
>
> ===== file: sniff.ck =====
> public class Sniff {
> Scratch @ _scratch;
> }
> ===== EOF =====
>
> How does one compile cross-referenced classes? Neither "chuck scratch.ck
> sniff.ck" nor "chuck sniff.ck scratch.ck" bring joy. (There's a similar
> question for any class that has a reference to itself as a member, such as a
> linked list.
Why do you keep trying to do this to poor ChucK??
--
Tom Lieber
http://AllTom.com/
More information about the chuck-users
mailing list