11cbdbe26e
Fixes #32372. Change-Id: I77bcdcdb5a764ba1d6075176800fa038aa46a1f9 Reviewed-on: https://dart-review.googlesource.com/44440 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
20 lines
448 B
Dart
20 lines
448 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.
|
|
// SharedOptions=--supermixin
|
|
|
|
import "package:expect/expect.dart";
|
|
|
|
class A extends Object with B<String>, C {}
|
|
|
|
class B<T> {}
|
|
|
|
class C<T> extends B<T> {
|
|
get t => T;
|
|
}
|
|
|
|
main() {
|
|
var x = new A();
|
|
Expect.equals(x.t, String);
|
|
}
|