library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue38745.dart:9:7: Error: Extensions can't declare instance fields
// Try removing the field declaration or making it a static field
//   int field;
//       ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:11:13: Error: Extensions can't declare instance fields
// Try removing the field declaration or making it a static field
//   final int property = 42;
//             ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:15:13: Error: Extensions can't declare instance fields
// Try removing the field declaration or making it a static field
//   final int property2 = 42;
//             ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:17:19: Error: Conflicts with member 'property2'.
//   static void set property2(int value) {}
//                   ^
//
// pkg/front_end/testcases/extensions/issue38745.dart:15:13: Error: Conflicts with setter 'property2'.
//   final int property2 = 42;
//             ^
//
import self as self;
import "dart:core" as core;

class C<T extends core::Object* = dynamic> extends core::Object {
  synthetic constructor •() → self::C<self::C::T*>*
    ;
}
extension ext<T extends core::Object* = dynamic> on self::C<T*>* {
  field field = self::ext|field;
  field property = self::ext|property;
  field property2 = self::ext|property2;
  method method = self::ext|method;
  tearoff method = self::ext|get#method;
  set property = self::ext|set#property;
  static set property2 = set self::ext|property2;
}
static field core::int* ext|field;
static final field core::int* ext|property;
static final field core::int* ext|property2;
static method ext|set#property<T extends core::Object* = dynamic>(final self::C<self::ext|set#property::T*>* #this, core::int* value) → void
  ;
static set ext|property2(core::int* value) → void
  ;
static method ext|method<T extends core::Object* = dynamic>(final self::C<self::ext|method::T*>* #this) → dynamic
  ;
static method ext|get#method<T extends core::Object* = dynamic>(final self::C<self::ext|get#method::T*>* #this) → () →* dynamic
  return () → dynamic => self::ext|method<self::ext|get#method::T*>(#this);
static method main() → dynamic
  ;
static method errors() → dynamic
  ;
