mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 09:43:08 +00:00
[flip-modifiers] opt out from class modifiers some failing front end language tests
Change-Id: I7c6473b2c1dd401355b18b55c8d3ce9b0cfaf257 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286541 Commit-Queue: Jake Macdonald <jakemac@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com> Auto-Submit: Jake Macdonald <jakemac@google.com>
This commit is contained in:
parent
7910eac426
commit
3643e771c4
7 changed files with 35 additions and 0 deletions
|
@ -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
|
||||
|
||||
class Foo {}
|
||||
|
||||
class Foo2 {}
|
||||
|
|
|
@ -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";
|
||||
import "inheritance_constraints_lib.dart" deferred as lib;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
// Test errors required by new enhanced enum syntax.
|
||||
|
||||
// Classes which implement `Enum`, but are not `enum` declarations,
|
||||
|
|
|
@ -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
|
||||
|
||||
// Object has a non-trivial constructor and hence cannot be used as mixin.
|
||||
|
||||
class S {}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
// Introduce an aliased type.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
class BadExtends extends Null {}
|
||||
// ^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_DISALLOWED_TYPE
|
||||
|
|
|
@ -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 'dart:typed_data';
|
||||
|
||||
abstract class CEByteBuffer extends ByteBuffer {}
|
||||
|
|
Loading…
Reference in a new issue