dart-sdk/pkg/front_end/testcases/no_such_method_forwarders/nsm_inherited.dart.weak.expect
Johnni Winther 36641368bb [cfe] Treat NonNullableByDefault as default in ast-to-text
This changes ast-to-text to mark legacy libraries instead of
non-nullable-by-default libraries.

TEST=existing

Change-Id: Ib01147e4ef48c2c5b2ffc6b23547998344dfdf2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307121
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2023-06-08 06:28:50 +00:00

26 lines
773 B
Plaintext

library;
import self as self;
import "dart:core" as core;
class M extends core::Object {
synthetic constructor •() → self::M
: super core::Object::•()
;
method noSuchMethod(core::Invocation invocation) → dynamic
return null;
}
class A extends self::M {
synthetic constructor •() → self::A
: super self::M::•()
;
no-such-method-forwarder method call(core::String s) → void
return this.{self::M::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 0, #C2, core::List::unmodifiable<dynamic>(<dynamic>[s]), core::Map::unmodifiable<core::Symbol*, dynamic>(#C3))){(core::Invocation) → dynamic};
}
static method main() → dynamic {}
constants {
#C1 = #call
#C2 = <core::Type*>[]
#C3 = <core::Symbol*, dynamic>{}
}