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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_is_enum.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.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/inferred_type_is_enum.dart.direct.expect b/pkg/front_end/testcases/inference/inferred_type_is_enum.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..ee158a5c9074a33462766732846db6056b8beb08
--- /dev/null
+++ b/pkg/front_end/testcases/inference/inferred_type_is_enum.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::v1;
+static method main() → dynamic {
+ self::x;
+}

Powered by Google App Engine
This is Rietveld 408576698