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

Unified Diff: pkg/front_end/test/fasta/rasta/malformed_function.dart.direct.expect

Issue 2691613002: Improve compile-time error handling. (Closed)
Patch Set: Update status and expectations for rasta tests. Created 3 years, 10 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/test/fasta/rasta/malformed_function.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/rasta/malformed_function.dart.direct.expect b/pkg/front_end/test/fasta/rasta/malformed_function.dart.direct.expect
index 6cc206bf3f96680ce43516bfd1ec81aa45baead1..aceb2f1df9ae8533b50e28156e3c979803a53469 100644
--- a/pkg/front_end/test/fasta/rasta/malformed_function.dart.direct.expect
+++ b/pkg/front_end/test/fasta/rasta/malformed_function.dart.direct.expect
@@ -1,6 +1,7 @@
library;
import self as self;
+import "dart:core" as core;
static method main() → dynamic {
- throw "pkg/fasta/test/rasta/malformed_function.dart:238: \u0027[31mError: Can't assign to this.\u0027[0m";
+ throw new core::_CompileTimeError::•("pkg/front_end/test/fasta/rasta/malformed_function.dart:238: \u0027[31mError: Can't assign to this.\u0027[0m");
}

Powered by Google App Engine
This is Rietveld 408576698