blob: 55c0236cae1824c119b3ae835fe99fa4225bbe07 [file] [log] [blame]
// 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:explicit=[B<A>]*/
class A {}
/*class: B:needsArgs,deps=[closure],explicit=[B<A>]*/
class B<T> {}
main() {
/*kernel.needsArgs*/ closure<T>() => new B<T>();
closure<A>() is B<A>;
}