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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class C extends self::D { 5 class C extends self::D {
6 constructor •() → void 6 constructor •() → void
7 : super self::D::•() 7 : super self::D::•()
8 ; 8 ;
9 set foo(core::int x) → dynamic {} 9 set foo(core::int x) → void {}
10 } 10 }
11 class D extends core::Object { 11 class D extends core::Object {
12 constructor •() → void 12 constructor •() → void
13 : super core::Object::•() 13 : super core::Object::•()
14 ; 14 ;
15 set foo(core::int x) → dynamic {} 15 set foo(core::int x) → void {}
16 } 16 }
17 static method main() → dynamic {} 17 static method main() → dynamic {}
OLDNEW
« 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