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

Unified Diff: pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect

Issue 2949753002: Print static types of conditional expressions. (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/rasta/type_with_parse_error.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect b/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect
index 18d0cca19bbcd65decb28363218f9e624896ffac..9132459fa777d0838fc8e527a148e2885829c726 100644
--- a/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/type_with_parse_error.dart.direct.expect
@@ -1,18 +1,5 @@
library;
import self as self;
-import "dart:core" as core;
-class A extends core::Object {
- constructor •() → self::A
- : super core::Object::•();
- method foo() → dynamic {
- throw core::_malformedTypeError("'B' is not a type.");
- }
-}
-class B extends core::Object {
- constructor •() → self::B
- : super core::Object::•();
-}
-static method main() → dynamic {
- throw core::_malformedTypeError("'B' is not a type.");
-}
+static method main() → dynamic
+ throw "pkg/front_end/testcases/rasta/type_with_parse_error.dart:21:3: Error: Expected a declaration, but got 'int'.\n int i\n ^";

Powered by Google App Engine
This is Rietveld 408576698