blob: a91db350780556b9cb6e3a1e066c56d29daeb46d [file] [log] [blame]
//
// Problems in component:
//
// pkg/front_end/testcases/nnbd_mixed/issue41210a/issue41210_lib1.dart: Error: A library can't opt out of non-nullable by default, when in nnbd-strong mode.
//
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd_mixed/issue41210a/issue41210.dart:5:1: Error: A library can't opt out of non-nullable by default, when in nnbd-strong mode.
// // @dart=2.6
// ^^^^^^^^^^^^
//
import self as self;
import "dart:core" as core;
import "issue41210_lib1.dart" as iss;
import "org-dartlang-testcase:///issue41210_lib1.dart";
abstract class _C&Object&A = core::Object with iss::A /*isAnonymousMixin,hasConstConstructor*/ {
const synthetic constructor •() self::_C&Object&A
: super core::Object::•()
;
}
abstract class _C&Object&A&B = self::_C&Object&A with iss::B /*isAnonymousMixin,hasConstConstructor*/ {
const synthetic constructor •() self::_C&Object&A&B
: super self::_C&Object&A::•()
;
abstract forwarding-stub method method({core::String* s}) core::String*;
}
class C extends self::_C&Object&A&B {
synthetic constructor •() self::C
;
abstract forwarding-stub method method({core::String* s}) core::String*;
}
static method main() dynamic
;
library;
import self as iss;
import "dart:core" as core;
import "issue41210_lib2.dart" as iss2;
import "org-dartlang-testcase:///issue41210_lib2.dart";
abstract class A extends core::Object implements iss2::Interface /*isMixinDeclaration*/ {
method method({core::String* s = "hello"}) core::String*
;
abstract member-signature get _identityHashCode() core::int*;
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*;
abstract member-signature operator ==(dynamic other) core::bool*;
abstract member-signature get hashCode() core::int*;
abstract member-signature method toString() core::String*;
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic;
abstract member-signature get runtimeType() core::Type*;
}
abstract class B extends core::Object implements iss2::Interface {
synthetic constructor •() iss::B*
;
abstract member-signature get _identityHashCode() core::int*;
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*;
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*;
abstract member-signature operator ==(dynamic other) core::bool*;
abstract member-signature get hashCode() core::int*;
abstract member-signature method toString() core::String*;
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic;
abstract member-signature get runtimeType() core::Type*;
abstract member-signature method method() core::String*;
}
static method main() void
;
library /*isNonNullableByDefault*/;
import self as iss2;
import "dart:core" as core;
abstract class Interface extends core::Object {
synthetic constructor •() iss2::Interface
;
abstract method method() core::String;
}