Files
sdk/tests/language_2/bug32372_test.dart
T
Paul Berry 11cbdbe26e When checking mixin type inference errors, don't skip mixins with explicit type args.
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>
2018-03-05 09:10:01 +00:00

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);
}