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

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

Issue 2775163003: Make catch variables final. (Closed)
Patch Set: Update expectation files. Created 3 years, 9 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/accessors.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/accessors.dart.direct.expect b/pkg/front_end/test/fasta/accessors.dart.direct.expect
index 04b2ad4952f27627862cd32e32d774c050c7dd32..f76bcfa35e85fe4a34d118b063b31fcf17aec852 100644
--- a/pkg/front_end/test/fasta/accessors.dart.direct.expect
+++ b/pkg/front_end/test/fasta/accessors.dart.direct.expect
@@ -14,7 +14,7 @@ class C extends core::Object {
core::print(this.onlySetter);
throw "No error thrown";
}
- on core::NoSuchMethodError catch(dynamic e) {
+ on core::NoSuchMethodError catch(final dynamic e) {
core::print("Expected error: ${e}");
}
this.onlySetter = "hest";
@@ -42,7 +42,7 @@ static method main() → dynamic {
core::print(throw new core::NoSuchMethodError::•(null, #onlySetter, <dynamic>[], <dynamic, dynamic>{}, null));
throw "No error thrown";
}
- on core::NoSuchMethodError catch(dynamic e) {
+ on core::NoSuchMethodError catch(final dynamic e) {
core::print("Expected error: ${e}");
}
self::onlySetter = "fisk";
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/test/fasta/expressions.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698