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

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

Issue 2949753002: Print static types of conditional expressions. (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 | « no previous file | pkg/front_end/testcases/escape.dart.direct.expect » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Too few positional arguments (call.dart:30:25)
2 // Too few positional arguments (call.dart:31:30)
3 // Too few positional arguments (call.dart:35:26)
4 // Too few positional arguments (call.dart:36:27)
5 // Too few positional arguments (call.dart:37:32)
6 library; 1 library;
7 import self as self; 2 import self as self;
8 import "dart:core" as core; 3 import "dart:core" as core;
9 4
10 class Callable extends core::Object { 5 class Callable extends core::Object {
11 constructor •() → void 6 constructor •() → void
12 : super core::Object::•() 7 : super core::Object::•()
13 ; 8 ;
14 method call(dynamic x) → dynamic { 9 method call(dynamic x) → dynamic {
15 return "string"; 10 return "string";
(...skipping 11 matching lines...) Expand all
27 dynamic int1 = closure.call(1); 22 dynamic int1 = closure.call(1);
28 dynamic int2 = closure.call(1); 23 dynamic int2 = closure.call(1);
29 dynamic int3 = closure.call.call(1); 24 dynamic int3 = closure.call.call(1);
30 dynamic int4 = closure.call.call.call(1); 25 dynamic int4 = closure.call.call.call(1);
31 self::Callable callable = new self::Callable::•(); 26 self::Callable callable = new self::Callable::•();
32 dynamic string1 = callable.{self::Callable::call}(1); 27 dynamic string1 = callable.{self::Callable::call}(1);
33 dynamic string2 = callable.{self::Callable::call}(1); 28 dynamic string2 = callable.{self::Callable::call}(1);
34 dynamic string3 = callable.{self::Callable::call}.call(1); 29 dynamic string3 = callable.{self::Callable::call}.call(1);
35 dynamic string4 = callable.{self::Callable::call}.call.call(1); 30 dynamic string4 = callable.{self::Callable::call}.call.call(1);
36 self::CallableGetter callableGetter = new self::CallableGetter::•(); 31 self::CallableGetter callableGetter = new self::CallableGetter::•();
37 dynamic string5 = callableGetter.call(1); 32 dynamic string5 = callableGetter.{self::CallableGetter::call}(1);
38 dynamic string6 = callableGetter.{self::CallableGetter::call}.call(1); 33 dynamic string6 = callableGetter.{self::CallableGetter::call}(1);
39 dynamic string7 = callableGetter.{self::CallableGetter::call}.call(1); 34 dynamic string7 = callableGetter.{self::CallableGetter::call}.call(1);
40 dynamic string8 = callableGetter.{self::CallableGetter::call}.call.call(1); 35 dynamic string8 = callableGetter.{self::CallableGetter::call}.call.call(1);
41 dynamic nothing1 = closure.call(); 36 dynamic nothing1 = closure.call();
42 dynamic nothing2 = closure.call(); 37 dynamic nothing2 = closure.call();
43 dynamic nothing3 = closure.call.call(); 38 dynamic nothing3 = closure.call.call();
44 dynamic nothing4 = closure.call.call.call(); 39 dynamic nothing4 = closure.call.call.call();
45 dynamic nothing5 = callable.{self::Callable::call}(); 40 dynamic nothing5 = callable.{self::Callable::call}();
46 dynamic nothing6 = callable.{self::Callable::call}(); 41 dynamic nothing6 = callable.{self::Callable::call}();
47 dynamic nothing7 = callable.{self::Callable::call}.call(); 42 dynamic nothing7 = callable.{self::Callable::call}.call();
48 dynamic nothing8 = callable.{self::Callable::call}.call.call(); 43 dynamic nothing8 = callable.{self::Callable::call}.call.call();
49 dynamic nothing9 = callableGetter.call(); 44 dynamic nothing9 = callableGetter.{self::CallableGetter::call}();
50 dynamic nothing10 = callableGetter.{self::CallableGetter::call}.call(); 45 dynamic nothing10 = callableGetter.{self::CallableGetter::call}();
51 dynamic nothing11 = callableGetter.{self::CallableGetter::call}.call(); 46 dynamic nothing11 = callableGetter.{self::CallableGetter::call}.call();
52 dynamic nothing12 = callableGetter.{self::CallableGetter::call}.call.call(); 47 dynamic nothing12 = callableGetter.{self::CallableGetter::call}.call.call();
53 } 48 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/testcases/escape.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698