blob: cf4c24533b628c07f32516ada945a2492fe7cc16 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
extension type Id(core::int id) {
abstract extension-type-member representation-field get id() core::int;
constructor = self::Id|constructor#;
constructor tearoff = self::Id|constructor#_#new#tearOff;
}
static extension-type-member method Id|constructor#(core::int id) → self::Id% /* erasure=core::int, declared=! */
;
static extension-type-member method Id|constructor#_#new#tearOff(core::int id) → self::Id% /* erasure=core::int, declared=! */
return self::Id|constructor#(id);
static method test() dynamic
;
static method main() dynamic
;
static method expect(dynamic expected, dynamic actual) dynamic
;