This example doesn't actually "use B" because still no code actually instantiates a B.
I think we'll have to revisit how we choose the requires. I'll play around with it. Google recommends using more interfaces to get rid of the cycles. On 12/6/15, 6:43 PM, "lizhi" <s...@qq.com> wrote: >package >{ > /** > * ... > * @author lizhi > */ > public class Test > { > private var b:B; > public function Test() > { > new A; > alert("ok"); > } > > } > >} > >i now make Test class,use the B; >but also not work > > > >-- >View this message in context: >http://apache-flex-development.2333347.n4.nabble.com/flexjs-ERROR-Circular >-dependency-detected-tp50323p50523.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.