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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart.direct.expect b/pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..7ba892178b9ec749bb9b2ba6eebba9364c9310ee
--- /dev/null
+++ b/pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart.direct.expect
@@ -0,0 +1,23 @@
+library test;
+import self as self;
+import "dart:core" as core;
+import "dart:math" as math;
+
+class Trace extends core::Object {
+ field core::List<self::Frame> frames = <dynamic>[];
+ default constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class Frame extends core::Object {
+ field core::String location = "";
+ default constructor •() → void
+ : super core::Object::•()
+ ;
+}
+static method main() → dynamic {
+ core::List<self::Trace> traces = <dynamic>[];
+ dynamic longest = traces.map((dynamic trace) → dynamic {
+ return trace.frames.map((dynamic frame) → dynamic => frame.location.length).fold(0, math::max);
+ }).fold(0, math::max);
+}

Powered by Google App Engine
This is Rietveld 408576698