Index: pkg/front_end/testcases/type_variable_as_super.dart.direct.expect |
diff --git a/pkg/front_end/testcases/type_variable_as_super.dart.direct.expect b/pkg/front_end/testcases/type_variable_as_super.dart.direct.expect |
index f896d53309187929cd7e0c3902c2dd8e6b34e56d..fd84fc720301e722ed567200d18f3f2f35252975 100644 |
--- a/pkg/front_end/testcases/type_variable_as_super.dart.direct.expect |
+++ b/pkg/front_end/testcases/type_variable_as_super.dart.direct.expect |
@@ -3,7 +3,7 @@ import self as self; |
import "dart:core" as core; |
abstract class A<T extends core::Object> extends core::Object { |
- constructor •() → void |
+ default constructor •() → void |
: super core::Object::•() |
; |
} |
@@ -13,12 +13,13 @@ abstract class B<T extends core::Object> extends core::Object { |
; |
} |
class C<T extends core::Object> extends core::Object { |
- constructor •() → void |
+ default constructor •() → void |
: super core::Object::•() |
; |
} |
+const field dynamic #errors = const <dynamic>["Error: The type variable 'T' can't be used as supertype.", "Error: The type variable 'T' can't be used as supertype.", "Error: The type variable 'T' can't be used as supertype."]/* from null */; |
static method main() → dynamic { |
- throw new core::NoSuchMethodError::•(null, #A, <dynamic>[], <dynamic, dynamic>{}, null); |
- throw new core::NoSuchMethodError::•(null, #B, <dynamic>[], <dynamic, dynamic>{}, null); |
+ throw new core::AbstractClassInstantiationError::•("A"); |
+ throw new core::AbstractClassInstantiationError::•("B"); |
new self::C::•<dynamic>(); |
} |