Including modules, Is it right behavior?
First case code Second case code I was expecting to all methods from modules be included in both cases. Is it 开发者_StackOverflowbug?
Expected behavior. In the first example you are including B in A after you included it in C, so A doesn't have Bs method when it gets included. In the second example you do it in the correct order.
加载中,请稍侯......
精彩评论