| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled. |
| // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.14 or higher, and running 'pub get'. |
| // extension type E on A {} // Error because of 'type'. |
| // ^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| synthetic constructor •() → self::A |
| : super core::Object::•() |
| ; |
| } |
| extension type E on self::A { |
| } |
| static method main() → dynamic {} |