tag:blogger.com,1999:blog-581197352358126527.post8117995421143841580..comments2024-03-29T03:21:30.339-07:00Comments on japh(r) by Chris Strom: Getting Started with Dart Mixins and “IterableMixin”Anonymoushttp://www.blogger.com/profile/00135361916531185929noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-581197352358126527.post-59403499069998116212013-08-04T21:42:27.285-07:002013-08-04T21:42:27.285-07:00As I've explained on several occasions, the &q...As I've explained on several occasions, the "with" clause is in fact part of the "extends" clause. Class declaration doesn't look like "class C (extends SC) (with M1, M2) (implements I1, I2) {...}", it looks like "class C (extends (SC with M1, M2)) (implements I1, I2) {...}". And it actually conforms to the semantics: if I have a "class C extends SC with M1, M2", then C extends the class SC+M1+M2, which in turn extends the class SC+M1, which finally extends the class SC. This is how mixins in Dart work.Ladislav Thonhttps://www.blogger.com/profile/12670125767406592087noreply@blogger.com