[chuck-users] cross-referenced classes?

Robert Poor rdpoor at gmail.com
Thu Mar 12 22:10:56 EDT 2009

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.  But I'll save that  
question for the next time I need to flaunt my ignorance.)

- Rob

More information about the chuck-users mailing list