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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_is_enum_values.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/inferred_type_is_enum_values.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/inferred_type_is_enum_values.dart.direct.expect b/pkg/front_end/testcases/inference/inferred_type_is_enum_values.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..7699354f54ee3d44b38b1d1934686b6958059295
--- /dev/null
+++ b/pkg/front_end/testcases/inference/inferred_type_is_enum_values.dart.direct.expect
@@ -0,0 +1,18 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class E extends core::Object {
+ final field core::int index;
+ static const field core::List<self::E> values = const <self::E>[self::E::v1];
+ static const field self::E v1 = const self::E::•(0);
+ const constructor •(core::int index) → void
+ : self::E::index = index, super core::Object::•()
+ ;
+ method toString() → core::String
+ return const <core::int, core::String>{0: "E.v1"}.[](this.{=self::E::index});
+}
+static final field dynamic x = self::E::values;
+static method main() → dynamic {
+ self::x;
+}

Powered by Google App Engine
This is Rietveld 408576698