[chuck-users] Two classes referencing each other

Gonzalo gonzalo at dense13.com
Sat Oct 18 00:52:19 EDT 2014


I guess that means no... :( It won't work in my scenario, I'll have to
find another way to structure things. And I guess forward declaration is 
probably not in the plans for future versions.


On 18/10/2014 3:31 pm, Daniel Chapiro wrote:
> You could break up those classes, reshuffling their members in some
> other way, so as not to have any mutual dependencies.
>
> (given that Chuck doesn't have some type of forward declaration or
> equivalent mechanism, for members of other classes, I don't see
> another way to do it).
>
> Hope this works for you. Daniel
>
> On Oct 17, 2014, at 8:57 PM, Gonzalo wrote:
>
>> Is this possible? If class A uses class B somewhere, and viceversa,
>> how can I load them both from a third file?
>>
>> Cheers, Gonzalo _______________________________________________
>> chuck-users mailing list chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
> _______________________________________________ chuck-users mailing
> list chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>


More information about the chuck-users mailing list