blob: 67d4347c9ad0253d4d2fd8af9dd48c14a90222b5 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A
: super core::Object::•()
;
}
class B extends core::Object {
synthetic constructor •() self::B
: super core::Object::•()
;
}
extension /* unnamed */ _extension#0 on self::A {
method foo = self::_extension#0|foo;
tearoff foo = self::_extension#0|get#foo;
}
static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {}
static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void
return (self::A a, self::B b) void => self::_extension#0|foo(#this, a, b);
static method main() void {
dynamic a = new self::A::•();
dynamic b = new self::B::•();
self::_extension#0|foo(new self::A::•(), a as{TypeError,ForDynamic} self::A, b as{TypeError,ForDynamic} self::B);
}