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

Unified Diff: pkg/front_end/testcases/rasta/static.dart.direct.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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/rasta/static.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/static.dart.direct.expect b/pkg/front_end/testcases/rasta/static.dart.direct.expect
index ba215db7cd72fb83bd5e63204c978ab74648c9e6..1498e5499428808a31192f3e5f85dad7f474bde4 100644
--- a/pkg/front_end/testcases/rasta/static.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/static.dart.direct.expect
@@ -69,16 +69,16 @@ static method main() → dynamic {
self::use(throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null));
self::Foo::staticSetter = 87;
self::use(self::Foo::staticSetter = 87);
- self::Foo::staticConstant.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticConstant, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : null;
- self::use(let final dynamic #t11 = self::Foo::staticConstant in #t11.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticConstant, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t11);
- self::Foo::staticField.==(null) ? self::Foo::staticField = 87 : null;
- self::use(let final dynamic #t12 = self::Foo::staticField in #t12.==(null) ? self::Foo::staticField = 87 : #t12);
- self::Foo::staticFunction.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticFunction, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : null;
- self::use(let final dynamic #t13 = self::Foo::staticFunction in #t13.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticFunction, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t13);
- self::Foo::staticGetter.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : null;
- self::use(let final dynamic #t14 = self::Foo::staticGetter in #t14.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t14);
- (throw new core::NoSuchMethodError::_withType(null, #staticSetter, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null)).==(null) ? self::Foo::staticSetter = 87 : null;
- self::use(let final dynamic #t15 = throw new core::NoSuchMethodError::_withType(null, #staticSetter, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null) in #t15.==(null) ? self::Foo::staticSetter = 87 : #t15);
+ self::Foo::staticConstant.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #staticConstant, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : null;
+ self::use(let final dynamic #t11 = self::Foo::staticConstant in #t11.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #staticConstant, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t11);
+ self::Foo::staticField.==(null) ?{dynamic} self::Foo::staticField = 87 : null;
+ self::use(let final dynamic #t12 = self::Foo::staticField in #t12.==(null) ?{dynamic} self::Foo::staticField = 87 : #t12);
+ self::Foo::staticFunction.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #staticFunction, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : null;
+ self::use(let final dynamic #t13 = self::Foo::staticFunction in #t13.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #staticFunction, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t13);
+ self::Foo::staticGetter.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : null;
+ self::use(let final dynamic #t14 = self::Foo::staticGetter in #t14.==(null) ?{dynamic} throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t14);
+ (throw new core::NoSuchMethodError::_withType(null, #staticSetter, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null)).==(null) ?{dynamic} self::Foo::staticSetter = 87 : null;
+ self::use(let final dynamic #t15 = throw new core::NoSuchMethodError::_withType(null, #staticSetter, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null) in #t15.==(null) ?{dynamic} self::Foo::staticSetter = 87 : #t15);
}
on core::NoSuchMethodError catch(no-exception-var) {
}
« no previous file with comments | « pkg/front_end/testcases/rasta/parser_error.dart.direct.expect ('k') | pkg/front_end/testcases/rasta/super.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698