blob: c51180857d640dc36649e314c33f74bdd680b19d [file] [log] [blame]
// 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.
// @dart = 2.7
import "package:expect/expect.dart";
class Bar<X> implements Baz {}
class Baz {}
var g;
abstract class Foo<A extends Baz> {
final bool thing = g is A;
class Qux extends Foo<Baz> {}
main() {
g = new Baz();
var f = new Qux();
g = 'ello';
var f2 = new Qux();