library /*isNonNullableByDefault*/; // // Problems in library: // // pkg/front_end/testcases/nnbd/never_bound.dart:10:3: Error: Type argument 'Null' doesn't conform to the bound 'Never' of the type variable 'T' on 'GenericNever'. // Try changing type arguments so that they conform to the bounds. // GenericNever(); // ^ // pkg/front_end/testcases/nnbd/never_bound.dart:5:20: Context: This is the type variable whose bound isn't conformed to. // class GenericNever { // ^ // // pkg/front_end/testcases/nnbd/never_bound.dart:11:3: Error: Type argument 'void' doesn't conform to the bound 'Never' of the type variable 'T' on 'GenericNever'. // Try changing type arguments so that they conform to the bounds. // GenericNever(); // ^ // pkg/front_end/testcases/nnbd/never_bound.dart:5:20: Context: This is the type variable whose bound isn't conformed to. // class GenericNever { // ^ // // pkg/front_end/testcases/nnbd/never_bound.dart:12:3: Error: Type argument 'int' doesn't conform to the bound 'Never' of the type variable 'T' on 'GenericNever'. // Try changing type arguments so that they conform to the bounds. // GenericNever(); // ^ // pkg/front_end/testcases/nnbd/never_bound.dart:5:20: Context: This is the type variable whose bound isn't conformed to. // class GenericNever { // ^ // import self as self; import "dart:core" as core; class GenericNever extends core::Object { synthetic constructor •() → self::GenericNever : super core::Object::•() ; method getParamType() → dynamic return self::GenericNever::T; } static method errors() → dynamic { new self::GenericNever::•(); new self::GenericNever::•(); new self::GenericNever::•(); } static method main() → dynamic {}