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

Unified Diff: pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart.strong.expect

Issue 2952873002: In strong mode, properly infer the return types of setters as `void` (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
« no previous file with comments | « pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart.strong.expect b/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart.strong.expect
index 82341032bdcdd88604a59f08bb49a17a819ee17d..3d47596ae5f5fff6a042a2c03badbc11101c883d 100644
--- a/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart.strong.expect
@@ -6,12 +6,12 @@ class C extends self::D {
constructor •() → void
: super self::D::•()
;
- set foo(core::int x) → dynamic {}
+ set foo(core::int x) → void {}
}
class D extends core::Object {
constructor •() → void
: super core::Object::•()
;
- set foo(core::int x) → dynamic {}
+ set foo(core::int x) → void {}
}
static method main() → dynamic {}
« no previous file with comments | « pkg/front_end/testcases/inference/infer_parameter_type_setter_from_setter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698