Files
sdk/pkg/_fe_analyzer_shared/test/inheritance/data/issue40481.dart
T
Johnni Winther 3f18d37333 [cfe] Implement NNBD_TOP_MERGE update
Change-Id: I6b204b5d7def6a9d1dd4709e47f95eb102741489
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144763
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2020-04-27 16:28:08 +00:00

26 lines
749 B
Dart

// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// 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.
/*library: nnbd=true*/
/*class: A:A<T>,Object*/
class A<T> {}
/*class: A_Object:A<Object?>,A_Object,Object*/
class A_Object implements A<Object?> {}
/*class: A_dynamic:A<dynamic>,A_dynamic,Object*/
class A_dynamic implements A<dynamic> {}
/*class: A_void:A<void>,A_void,Object*/
class A_void implements A<void> {}
/*class: B1:A<Object?>,A_Object,A_dynamic,B1,Object*/
class B1 extends A_Object implements A_dynamic {}
/*class: B2:A<Object?>,A_Object,A_void,B2,Object*/
class B2 extends A_Object implements A_void {}
main() {}