[flip-modifiers]: opt out failing ddc tests from class modifiers

Change-Id: Ib9187cd63be39b155cd78b1e213b1a5e9cdb3be9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286560
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
This commit is contained in:
Jake Macdonald 2023-03-02 20:27:25 +00:00 committed by Commit Queue
parent e27923a5a0
commit 7910eac426
3 changed files with 7 additions and 2 deletions

View file

@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
class B {
mixin B {
String? _foo = 'B._foo';
String get foo => _foo!;
}

View file

@ -2,6 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
// being applied in this test should be "mixin", "mixin class" or the test
// should be left at 2.19.
// @dart=2.19
import 'package:expect/expect.dart';
void main() {

View file

@ -44,4 +44,4 @@ main() {
Expect.isTrue(listB is List<SuperB3<String>>);
Expect.isTrue(listB is List<InterfaceB<Map<int, String>>>);
}
}