Chicken and Egg

Posted by jmls on 06-Jul-2009 11:43

I have two classes, foo1 and foo2. I have broken said classes to the extent that neither will compile because:

foo1 uses a method in foo2

foo2 uses a property of foo1

trouble is, the method in foo2 is new, and the property of foo1 is new.

Sooooo,

try to compile foo1, and foo2 fails because foo2 does not yet have the required method

try to compile foo2, and foo1 fails because foo1 does not yet have the required property

I eventually figured it out : delete the .r of both classes

All Replies

This thread is closed