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

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

Issue 2981783002: Set 'isSyntheticDefault' for default constructors. (Closed)
Patch Set: 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
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 import "dart:math" as math; 4 import "dart:math" as math;
5 5
6 class Trace extends core::Object { 6 class Trace extends core::Object {
7 field core::List<self::Frame> frames = <self::Frame>[]; 7 field core::List<self::Frame> frames = <self::Frame>[];
8 constructor •() → void 8 default constructor •() → void
9 : super core::Object::•() 9 : super core::Object::•()
10 ; 10 ;
11 } 11 }
12 class Frame extends core::Object { 12 class Frame extends core::Object {
13 field core::String location = ""; 13 field core::String location = "";
14 constructor •() → void 14 default constructor •() → void
15 : super core::Object::•() 15 : super core::Object::•()
16 ; 16 ;
17 } 17 }
18 static method main() → dynamic { 18 static method main() → dynamic {
19 core::List<self::Trace> traces = <self::Trace>[]; 19 core::List<self::Trace> traces = <self::Trace>[];
20 core::int longest = traces.{core::Iterable::map}<core::int>((self::Trace trace ) → core::int { 20 core::int longest = traces.{core::Iterable::map}<core::int>((self::Trace trace ) → core::int {
21 return trace.{self::Trace::frames}.{core::Iterable::map}<core::int>((self::F rame frame) → core::int => frame.{self::Frame::location}.{core::String::length}) .{core::Iterable::fold}<core::int>(0, math::max); 21 return trace.{self::Trace::frames}.{core::Iterable::map}<core::int>((self::F rame frame) → core::int => frame.{self::Frame::location}.{core::String::length}) .{core::Iterable::fold}<core::int>(0, math::max);
22 }).{core::Iterable::fold}<core::int>(0, math::max); 22 }).{core::Iterable::fold}<core::int>(0, math::max);
23 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698