4579863064
Closes #35470. Bug: http://dartbug.com/35470 Change-Id: I6b7ae9bb96ca099dc55bfdc8fddfa768eab060a2 Reviewed-on: https://dart-review.googlesource.com/c/87965 Commit-Queue: Kevin Millikin <kmillikin@google.com> Auto-Submit: Dmitry Stefantsov <dmitryas@google.com> Reviewed-by: Kevin Millikin <kmillikin@google.com>
16 lines
323 B
Dart
16 lines
323 B
Dart
// Copyright (c) 2018, 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.
|
|
|
|
class A<X> {
|
|
foo<Y extends X>() {}
|
|
}
|
|
|
|
class B extends A<dynamic> {}
|
|
|
|
bar(B b) {
|
|
b.foo();
|
|
}
|
|
|
|
main() {}
|