Skip to content

[Class modifiers] Remove use of classes as mixins #1875

@mit-mit

Description

@mit-mit

Pre-Dart 3 any class can be used as a mixin. In Dart 3, only mixin class foo (a declaration that defines both a class and a mixin.) and mixin foo are allowed:
dart-lang/language#1643
https://github.com/dart-lang/language/blob/master/accepted/future-releases/class-modifiers/feature-specification.md

There seems to be a bunch of classes in co19 that use classes as mixins, from this test run:
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8788634602419351857/+/u/test_results/new_test_failures__logs_

Can we get those updated?

cc @lrhn

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions