| Index: tests/compiler/dart2js_extra/deferred/interface_type_variable_lib.dart
|
| diff --git a/tests/compiler/dart2js_extra/deferred/interface_type_variable_lib.dart b/tests/compiler/dart2js_extra/deferred/interface_type_variable_lib.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fb18b05f3180bcbf077ad195facc8bfe0bbca6e1
|
| --- /dev/null
|
| +++ b/tests/compiler/dart2js_extra/deferred/interface_type_variable_lib.dart
|
| @@ -0,0 +1,15 @@
|
| +// Copyright (c) 2017, 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 {}
|
| +
|
| +class I<T> {}
|
| +
|
| +// C needs to include "N", otherwise checking for `is I<A>` will likely cause
|
| +// problems
|
| +class C extends A implements I<N> {}
|
| +
|
| +class N extends A {}
|
| +
|
| +doCheck(x) => x is I<A>;
|
|
|