Discussion:
[dart-misc] [dart-announce] Lifting restrictions on mixins
'Anders Sandholm' via Dart Announcements
2015-10-02 13:38:02 UTC
Permalink
Hi,

We're working on lifting restrictions
<https://github.com/gbracha/lessRestrictedMixins> on mixins in Dart.

The existing restrictions on mixins are: 1) mixins must inherit directly
from Object, 2) mixins cannot contain super calls, and 3) mixins cannot
define constructors. We are planning to remove restrictions 1 and 2.

If you want to get a feel for what this liberation feels like, you can
already try it out now in the Analyzer and Dart VM using the flag
"--supermixin". You can track implementation progress in the corresponding
github issue </>. In parallel, we are working in TC52 on approving and
ratifying this change in the spec.

Please take our new liberated mixins for a spin and let us know
<https://github.com/dart-lang/sdk/issues/new> if you have feedback.

Thanks,
Anders
--
Anders Thorhauge Sandholm,
Product Manager, Google Denmark
CVR nr. 28 86 69 84
--
For more news and information, visit https://plus.google.com/+dartlang

To join the conversation, visit https://groups.google.com/a/dartlang.org/
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...