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

Unified Diff: pkg/front_end/test/fasta/rasta/issue_000031.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/issue_000031.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/rasta/issue_000031.dart.direct.expect b/pkg/front_end/test/fasta/rasta/issue_000031.dart.direct.expect
index 91cbb3778bc2793e38ceda5bed20d146dc116549..0bda4eefcab24a599cc3a00e1f9da7da4c9d4df8 100644
--- a/pkg/front_end/test/fasta/rasta/issue_000031.dart.direct.expect
+++ b/pkg/front_end/test/fasta/rasta/issue_000031.dart.direct.expect
@@ -1,6 +1,7 @@
library;
import self as self;
+import "dart:core" as core;
static method main() → dynamic {
- let final dynamic #t1 = throw "pkg/fasta/test/rasta/issue_000031.dart: \u0027[31mError: A library can't be used as an expression.\u0027[0m" in let final dynamic #t2 = #t1.toString() in #t1;
+ let final dynamic #t1 = throw new core::_CompileTimeError::•("pkg/front_end/test/fasta/rasta/issue_000031.dart: \u0027[31mError: A library can't be used as an expression.\u0027[0m") in let final dynamic #t2 = #t1.toString() in #t1;
}

Powered by Google App Engine
This is Rietveld 408576698