| library /*isNonNullableByDefault*/; |
| import self as self; |
| import "dart:core" as core; |
| |
| class E extends core::_Enum /*isEnum*/ { |
| static const field core::List<self::E> values = const <self::E>[self::E::one, self::E::two, self::E::three]; |
| static const field self::E one = const self::E::•(0, "one"); |
| static const field self::E two = const self::E::•(1, "two"); |
| static const field self::E three = const self::E::•(2, "three"); |
| const constructor •(core::int index, core::String name) → self::E |
| : super core::_Enum::•(index, name) |
| ; |
| method toString() → core::String |
| return "E.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| static method main() → dynamic |
| ; |
| |
| |
| Extra constant evaluation status: |
| Evaluated: ListLiteral @ org-dartlang-testcase:///entries_with_type_arguments.dart:5:6 -> ListConstant(const <E*>[const E{_Enum.index: 0, _Enum._name: "one"}, const E{_Enum.index: 1, _Enum._name: "two"}, const E{_Enum.index: 2, _Enum._name: "three"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///entries_with_type_arguments.dart:6:3 -> InstanceConstant(const E{_Enum.index: 0, _Enum._name: "one"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///entries_with_type_arguments.dart:7:3 -> InstanceConstant(const E{_Enum.index: 1, _Enum._name: "two"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///entries_with_type_arguments.dart:8:3 -> InstanceConstant(const E{_Enum.index: 2, _Enum._name: "three"}) |
| Extra constant evaluation: evaluated: 9, effectively constant: 4 |