| library; | 
 | // | 
 | // Problems in library: | 
 | // | 
 | // pkg/front_end/testcases/regress/issue_35266.dart:8:11: Error: 'B.foo' is already declared in this scope. | 
 | //   factory B.foo() = B<T>; | 
 | //           ^^^^^ | 
 | // pkg/front_end/testcases/regress/issue_35266.dart:7:11: Context: Previous declaration of 'B.foo'. | 
 | //   factory B.foo() = B<T>; | 
 | //           ^^^^^ | 
 | // | 
 | // pkg/front_end/testcases/regress/issue_35266.dart:13:21: Error: Can't use 'B.foo' because it is declared more than once. | 
 | //   factory C.bar() = B<K>.foo; | 
 | //                     ^ | 
 | // | 
 | import self as self; | 
 | import "dart:core" as core; | 
 |  | 
 | class B<T extends core::Object? = dynamic> extends self::C<self::B::T%> { | 
 |   constructor •() → self::B<self::B::T%> | 
 |     : super self::C::•() | 
 |     ; | 
 |   static factory foo<T extends core::Object? = dynamic>() → self::B<self::B::foo::T%> /* redirection-target: self::B::•<self::B::foo::T%>*/ | 
 |     return new self::B::•<self::B::foo::T%>(); | 
 | } | 
 | class C<K extends core::Object? = dynamic> extends core::Object { | 
 |   constructor •() → self::C<self::C::K%> | 
 |     : super core::Object::•() | 
 |     ; | 
 |   static factory bar<K extends core::Object? = dynamic>() → self::C<self::C::bar::K%> | 
 |     return invalid-expression "pkg/front_end/testcases/regress/issue_35266.dart:13:21: Error: Can't use 'B.foo' because it is declared more than once. | 
 |   factory C.bar() = B<K>.foo; | 
 |                     ^"; | 
 | } | 
 | static method main() → dynamic { | 
 |   invalid-expression "pkg/front_end/testcases/regress/issue_35266.dart:13:21: Error: Can't use 'B.foo' because it is declared more than once. | 
 |   factory C.bar() = B<K>.foo; | 
 |                     ^"; | 
 | } |