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

Side by Side Diff: pkg/front_end/testcases/static_setter.dart.strong.expect

Issue 2977303002: Issue 30179. Infer return type of static setters to 'void'. (Closed)
Patch Set: Update Analyzer inference test to handle 'void' return type. Created 3 years, 5 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_return_type_for_static_setter.dart.strong.expect ('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; 1 library;
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 Foo extends core::Object { 5 class Foo extends core::Object {
6 default constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 static set foo(dynamic x) → dynamic {} 10 static set foo(dynamic x) → void {}
11 static method main() → dynamic { 11 static method main() → dynamic {
12 self::foo = new self::Foo::•(); 12 self::foo = new self::Foo::•();
13 } 13 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/inference/infer_return_type_for_static_setter.dart.strong.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698