blob: 893b908a7f1a506e4b0800f616be4b05af722519 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class B<T extends core::Comparable<self::B::T> = core::Comparable<dynamic>> extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
}
static field self::B<core::Comparable<dynamic>> y = new self::B::•<core::Comparable<dynamic>>();
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/instantiate_to_bound/inference_super_bounded_rejected.dart:11:13: Error: Can't use a super-bounded type for instance creation. Got '#lib1::B<dart.core::Comparable<dynamic>>'.
var y = new B();
^"]/* from null */;
static method main() → dynamic {}