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

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

Issue 2954823002: Implement type inference for try/catch blocks. (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/accessors.dart.direct.expect
diff --git a/pkg/front_end/testcases/accessors.dart.direct.expect b/pkg/front_end/testcases/accessors.dart.direct.expect
index 1a4880e3fde15ecceb315c020a6aaba9642c3420..8e0409a839645bc317b91b67fef9a21d4015f371 100644
--- a/pkg/front_end/testcases/accessors.dart.direct.expect
+++ b/pkg/front_end/testcases/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(final dynamic e) {
+ on core::NoSuchMethodError catch(final core::NoSuchMethodError e) {
core::print("Expected error: ${e}");
}
this.onlySetter = "hest";
@@ -42,7 +42,7 @@ static method main() → dynamic {
core::print(throw new core::NoSuchMethodError::_withType(null, #onlySetter, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null));
throw "No error thrown";
}
- on core::NoSuchMethodError catch(final dynamic e) {
+ on core::NoSuchMethodError catch(final core::NoSuchMethodError e) {
core::print("Expected error: ${e}");
}
self::onlySetter = "fisk";

Powered by Google App Engine
This is Rietveld 408576698