blob: 6aa4264478b61104890b051fe8bb0a35afd16146 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A
;
method foo() dynamic
;
}
extension B on self::A? {
method foo = self::B|foo;
tearoff foo = self::B|get#foo;
method bar = self::B|bar;
tearoff bar = self::B|get#bar;
}
extension C on self::A {
method bar = self::C|bar;
tearoff bar = self::C|get#bar;
}
extension D on () →? core::int {
method call = self::D|call;
tearoff call = self::D|get#call;
}
static method B|foo(lowered final self::A? #this) → dynamic
;
static method B|get#foo(lowered final self::A? #this) → () → dynamic
return () dynamic => self::B|foo(#this);
static method B|bar(lowered final self::A? #this) → dynamic
;
static method B|get#bar(lowered final self::A? #this) → () → dynamic
return () dynamic => self::B|bar(#this);
static method C|bar(lowered final self::A #this) → dynamic
;
static method C|get#bar(lowered final self::A #this) → () → dynamic
return () dynamic => self::C|bar(#this);
static method D|call(lowered final () →? core::int #this) → core::int
;
static method D|get#call(lowered final () →? core::int #this) → () → core::int
return () core::int => self::D|call(#this);
static method main() dynamic
;
static method testA(self::A? a) dynamic
;
static method testFunction(() →? core::int f) dynamic
;
static method expect(dynamic expected, dynamic actual) dynamic
;