Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: pkg/front_end/testcases/type_variable_as_super.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3c821508f5e6d8375c5f14d6d3718048c6f7dc4c..f896d53309187929cd7e0c3902c2dd8e6b34e56d 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
@@ -17,9 +17,8 @@ class C<T extends core::Object> extends core::Object {
: super core::Object::•()
;
}
-const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/type_variable_as_super.dart: Error: The type variable 'T' can't be used as supertype.", "pkg/front_end/testcases/type_variable_as_super.dart: Error: The type variable 'T' can't be used as supertype.", "pkg/front_end/testcases/type_variable_as_super.dart: Error: The type variable 'T' can't be used as supertype."]/* from null */;
static method main() → dynamic {
- throw new core::AbstractClassInstantiationError::•("A");
- throw new core::AbstractClassInstantiationError::•("B");
+ throw new core::NoSuchMethodError::•(null, #A, <dynamic>[], <dynamic, dynamic>{}, null);
+ throw new core::NoSuchMethodError::•(null, #B, <dynamic>[], <dynamic, dynamic>{}, null);
new self::C::•<dynamic>();
}
« no previous file with comments | « pkg/front_end/testcases/super_rasta_copy.dart.direct.expect ('k') | pkg/front_end/testcases/void-methods.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698