Files
sdk/pkg/front_end/testcases/offsets/external_field.dart.strong.modular.expect
T
Johnni Winther ee75d1dfab [cfe] Add file offsets for FunctionNode in ast-to-text
This is in preparation for adding missing file offsets.

Change-Id: If122a650a06c9ddf3ae5b73bf75d2f65aea51852
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/488482
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
2026-03-17 06:22:14 -07:00

20 lines
1.2 KiB
Plaintext

library;
import self as self;
import "dart:core" as core;
[232]extension type Foo(core::Duration _) implements core::Duration {
[247] abstract extension-type-member representation-field get [-1] [-1] _() → core::Duration;
get bar = self::Foo|get#bar;
set bar = self::Foo|set#bar;
constructor _ = self::Foo|constructor#_;
constructor tearoff _ = self::Foo|constructor#_#_#tearOff;
}
[236]static extension-type-member method [237] [237] Foo|constructor#_([247] wildcard core::Duration _#wc0#formal) → self::Foo /* erasure=core::Duration */ {
[247] [247] lowered final self::Foo /* erasure=core::Duration */ #this = [247] [247] _#wc0#formal;
[-1] return [-1] [-1] #this;
}
[236]static extension-type-member synthetic method [236] [236] Foo|constructor#_#_#tearOff([247] core::Duration _#wc0#formal) → self::Foo /* erasure=core::Duration */
[236] return [236] [236] self::Foo|constructor#_ [236]([236] _#wc0#formal);
[287]external static extension-type-member method [-1] [-1] Foo|get#bar([287] lowered core::Duration #this) → core::int;
[287]external static extension-type-member method [287] [290] Foo|set#bar([287] lowered core::Duration #this, [287] synthesized core::int #externalFieldValue) → void;