Trouble specifying a gen-class constructor taking an argument of the class being created

2009-07-08 Thread Garth Sheldon-Coulson
Hello, Does anyone know a straightforward way to create a constructor using gen-class that takes an argument of the same class as the class you're generating? When I try to do it I get a ClassNotFoundException, assuming I don't have a previous compiled version of the class in my compile path.

Re: Trouble specifying a gen-class constructor taking an argument of the class being created

2009-07-08 Thread Richard Newman
Does anyone know a straightforward way to create a constructor using gen-class that takes an argument of the same class as the class you're generating? I've actually hit a related problem: a generated class cannot have type annotations for itself (because, as you've noticed, the class

Re: Trouble specifying a gen-class constructor taking an argument of the class being created

2009-07-08 Thread Chouser
On Wed, Jul 8, 2009 at 7:57 AM, Garth Sheldon-Coulsong...@mit.edu wrote: Hello, Does anyone know a straightforward way to create a constructor using gen-class that takes an argument of the same class as the class you're generating? I think what you're describing is:

Re: Trouble specifying a gen-class constructor taking an argument of the class being created

2009-07-08 Thread Garth Sheldon-Coulson
I think you're right. Thanks. At this point I'll just work around it rather than patching, but it's good to know people are thinking about it---even if Rich has set the ticket to Backlog. And thanks Richard... I didn't even know PascalCase had a name =). On Wed, Jul 8, 2009 at 2:00 PM, Chouser