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

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

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 years, 5 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/statements.dart.direct.expect
diff --git a/pkg/front_end/testcases/statements.dart.direct.expect b/pkg/front_end/testcases/statements.dart.direct.expect
index 5529e5b2d7faa53a2eb96d6e8adf975fa837c5a8..440b92aff44ab2e77fafedc77bd4038484dbdda0 100644
--- a/pkg/front_end/testcases/statements.dart.direct.expect
+++ b/pkg/front_end/testcases/statements.dart.direct.expect
@@ -21,8 +21,9 @@ static method main() → dynamic {
core::print("Hello from do-while!");
}
while (false)
- do
+ do {
dynamic x = core::print("Hello from do-while!");
+ }
while (false)
for (core::String s in <dynamic>["Hello from for-in!"]) {
core::print(s);
@@ -43,11 +44,11 @@ static method main() → dynamic {
try {
throw "Hello from rethrow!";
}
- on dynamic catch(dynamic e) {
+ on dynamic catch(final dynamic e) {
rethrow;
}
}
- on dynamic catch(dynamic e) {
+ on dynamic catch(final dynamic e) {
core::print(e);
}
self::foo();
@@ -62,7 +63,7 @@ static method main() → dynamic {
try {
assert(false, "Hello from assert!");
}
- on dynamic catch(dynamic e) {
+ on dynamic catch(final dynamic e) {
core::print(e);
}
#L1:

Powered by Google App Engine
This is Rietveld 408576698