有没有办法像这样将一个mixin放在另一个mixin上?我想在一些混合中共享一些常用方法。
mixin CircleMixin with SquareMixin {}
不,目前无法编写mixins。有关此功能,请参见this issue that's tracking the request。