// Copyright (c) 2013, 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. import "package:expect/expect.dart"; class S { s() { return T; } } class M { m() { return T; } } class N { n() { return T; } } class C extends S> with M>, N> {} main() { var c = new C(); Expect.isTrue(c is S>); Expect.equals("Map", c.s().toString()); Expect.isTrue(c is M>); Expect.equals("List", c.m().toString()); Expect.isTrue(c is N>); Expect.equals("Set", c.n().toString()); }