mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:49:43 +00:00
[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:
parent
e27923a5a0
commit
7910eac426
|
@ -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!;
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -44,4 +44,4 @@ main() {
|
|||
Expect.isTrue(listB is List<SuperB3<String>>);
|
||||
Expect.isTrue(listB is List<InterfaceB<Map<int, String>>>);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue