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

Side by Side Diff: pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.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
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 field core::int foo = null; 12 field core::int foo = null;
13 constructor •() → void 13 constructor •() → void
14 : super core::Object::•() 14 : super core::Object::•()
15 ; 15 ;
16 } 16 }
17 static method main() → dynamic {} 17 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698