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

Unified Diff: pkg/front_end/testcases/inference/infer_list_literal_nested_in_map_literal.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/infer_list_literal_nested_in_map_literal.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_list_literal_nested_in_map_literal.dart.direct.expect b/pkg/front_end/testcases/inference/infer_list_literal_nested_in_map_literal.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..886bab7f61231c4ebe90dc9d2f1a5522e482d83c
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_list_literal_nested_in_map_literal.dart.direct.expect
@@ -0,0 +1,26 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class Resource extends core::Object {
+ default constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class Folder extends self::Resource {
+ default constructor •() → void
+ : super self::Resource::•()
+ ;
+}
+class Foo<T extends core::Object> extends core::Object {
+ constructor •(self::Foo::T t) → void
+ : super core::Object::•()
+ ;
+}
+static method getResource(core::String str) → self::Resource
+ return null;
+static method main() → dynamic {
+ dynamic map = <core::String, core::List<self::Folder>>{"pkgA": <dynamic>[self::getResource("/pkgA/lib/")], "pkgB": <dynamic>[self::getResource("/pkgB/lib/")]};
+ dynamic list = <core::Map<core::String, self::Folder>>[<dynamic, dynamic>{"pkgA": self::getResource("/pkgA/lib/")}, <dynamic, dynamic>{"pkgB": self::getResource("/pkgB/lib/")}];
+ dynamic foo = new self::Foo::•<core::List<self::Folder>>(<dynamic>[self::getResource("/pkgA/lib/")]);
+}

Powered by Google App Engine
This is Rietveld 408576698