library /*isNonNullableByDefault*/; // // Problems in library: // // pkg/front_end/testcases/generic_metadata/issue45330.dart:10:31: Error: Type 'T' is a bound of itself via 'T'. // Try breaking the cycle by removing at least on of the 'extends' clauses in the cycle. // genericMethod()>(); // ^ // // pkg/front_end/testcases/generic_metadata/issue45330_lib.dart:35:31: Error: Type 'T' is a bound of itself via 'T'. // Try breaking the cycle by removing at least on of the 'extends' clauses in the cycle. // genericMethod()>(); // ^ // import self as self; import "dart:core" as core; part issue45330_lib.dart; static method genericMethod() → void {} static method testInMain() → dynamic { self::genericMethod<() → void>(); } static method main() → dynamic {} static method /* from org-dartlang-testcase:///issue45330_lib.dart */ testInPart() → dynamic { self::genericMethod<() → void>(); }