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

Side by Side Diff: pkg/front_end/testcases/rasta/mixin_library.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (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.mixin_library; 1 library test.mixin_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 Mixin<T extends core::Object> extends core::Object { 5 class Mixin<T extends core::Object> extends core::Object {
6 field dynamic x = self::f(); 6 field dynamic x = self::f();
7 field dynamic y = null; 7 field dynamic y = null;
8 field dynamic z = null; 8 field dynamic z = null;
9 field self::Mixin::T t = null; 9 field self::Mixin::T t = null;
10 constructor •() → void 10 constructor •() → void
11 : super core::Object::•() 11 : super core::Object::•()
12 ; 12 ;
13 method foo() → dynamic 13 method foo() → dynamic
14 return super.noSuchMethod(new core::_InvocationMirror::•("foo", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true)). +(self::f()); 14 return this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("fo o", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true)).+(self::f());
15 method g(self::Mixin::T a) → self::Mixin::T 15 method g(self::Mixin::T a) → self::Mixin::T
16 return null; 16 return null;
17 method h() → dynamic 17 method h() → dynamic
18 return self::V(); 18 return self::V();
19 method l() → dynamic 19 method l() → dynamic
20 return self::_private(); 20 return self::_private();
21 method _privateMethod() → dynamic 21 method _privateMethod() → dynamic
22 return 49; 22 return 49;
23 method publicMethod() → dynamic 23 method publicMethod() → dynamic
24 return this._privateMethod(); 24 return this._privateMethod();
25 } 25 }
26 static method f() → dynamic 26 static method f() → dynamic
27 return 2; 27 return 2;
28 static method V() → dynamic 28 static method V() → dynamic
29 return 87; 29 return 87;
30 static method _private() → dynamic 30 static method _private() → dynamic
31 return 117; 31 return 117;
32 static method foo(dynamic m) → dynamic 32 static method foo(dynamic m) → dynamic
33 return m._privateMethod(); 33 return m._privateMethod();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698