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; |
+} |