| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:9:1: Error: Import directives must precede part directives. |
| // Try moving the import directives before the part directives. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:11:1: Error: Import directives must precede part directives. |
| // Try moving the import directives before the part directives. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:15:9: Error: 'Typedef' is already declared in this scope. |
| // typedef Typedef = Object Function(); |
| // ^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:13:9: Context: Previous declaration of 'Typedef'. |
| // typedef Typedef = void Function(); |
| // ^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:17:1: Error: Directives must appear before any declarations. |
| // Try moving the directive before any declarations. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:21:16: Error: 'OldTypedef' is already declared in this scope. |
| // typedef Object OldTypedef(); |
| // ^^^^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:19:14: Context: Previous declaration of 'OldTypedef'. |
| // typedef void OldTypedef(); |
| // ^^^^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:25:5: Error: 'field' is already declared in this scope. |
| // var field = "2nd"; |
| // ^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:23:5: Context: Previous declaration of 'field'. |
| // var field = "1st"; |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:31:1: Error: 'main' is already declared in this scope. |
| // main() { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:27:1: Context: Previous declaration of 'main'. |
| // main() { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:45:3: Error: 'C' is already declared in this scope. |
| // C(a, b); |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:44:3: Context: Previous declaration of 'C'. |
| // C(a); |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:48:7: Error: 'field' is already declared in this scope. |
| // var field = "2nd"; |
| // ^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:46:7: Context: Previous declaration of 'field'. |
| // var field = "1st"; |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:54:3: Error: 'm' is already declared in this scope. |
| // m() { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:50:3: Context: Previous declaration of 'm'. |
| // m() { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:62:10: Error: 's' is already declared in this scope. |
| // static s() { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:58:10: Context: Previous declaration of 's'. |
| // static s() { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:74:7: Error: 'C' is already declared in this scope. |
| // class C { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:43:7: Context: Previous declaration of 'C'. |
| // class C { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:79:3: Error: Name of enum constant 'Enum' can't be the same as the enum's own name. |
| // Enum, |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:81:3: Error: 'a' is already declared in this scope. |
| // a, |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:80:3: Context: Previous declaration of 'a'. |
| // a, |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:85:6: Error: 'Enum' is already declared in this scope. |
| // enum Enum { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:78:6: Context: Previous declaration of 'Enum'. |
| // enum Enum { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:97:3: Error: 'toString' is already declared in this scope. |
| // toString, |
| // ^^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:91:6: Context: Previous declaration of 'toString' is implied by this definition. |
| // enum AnotherEnum { |
| // ^^^^^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:98:3: Error: 'values' is already declared in this scope. |
| // values, |
| // ^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:91:6: Context: Previous declaration of 'values' is implied by this definition. |
| // enum AnotherEnum { |
| // ^^^^^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:13:9: Error: 'Typedef' is already declared in this scope. |
| // typedef Typedef = void Function(); |
| // ^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:15:9: Context: Previous declaration of 'Typedef'. |
| // typedef Typedef = Object Function(); |
| // ^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:19:14: Error: 'OldTypedef' is already declared in this scope. |
| // typedef void OldTypedef(); |
| // ^^^^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:21:16: Context: Previous declaration of 'OldTypedef'. |
| // typedef Object OldTypedef(); |
| // ^^^^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:23:5: Error: 'field' is already declared in this scope. |
| // var field = "3rd"; |
| // ^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:25:5: Context: Previous declaration of 'field'. |
| // var field = "2nd"; |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:29:1: Error: 'main' is already declared in this scope. |
| // main() { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:31:1: Context: Previous declaration of 'main'. |
| // main() { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:41:7: Error: 'C' is already declared in this scope. |
| // class C { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:74:7: Context: Previous declaration of 'C'. |
| // class C { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:75:6: Error: 'Enum' is already declared in this scope. |
| // enum Enum { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:85:6: Context: Previous declaration of 'Enum'. |
| // enum Enum { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:9:1: Error: The part-of directive must be the only directive in a part. |
| // Try removing the other directives, or moving them to the library for which this is a part. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:11:1: Error: The part-of directive must be the only directive in a part. |
| // Try removing the other directives, or moving them to the library for which this is a part. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:15:9: Error: 'Typedef' is already declared in this scope. |
| // typedef Typedef = Object Function(); |
| // ^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:13:9: Context: Previous declaration of 'Typedef'. |
| // typedef Typedef = void Function(); |
| // ^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:17:1: Error: The part-of directive must be the only directive in a part. |
| // Try removing the other directives, or moving them to the library for which this is a part. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:21:16: Error: 'OldTypedef' is already declared in this scope. |
| // typedef Object OldTypedef(); |
| // ^^^^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:19:14: Context: Previous declaration of 'OldTypedef'. |
| // typedef void OldTypedef(); |
| // ^^^^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:25:5: Error: 'field' is already declared in this scope. |
| // var field = 4; |
| // ^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:23:5: Context: Previous declaration of 'field'. |
| // var field = "3rd"; |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:27:5: Error: 'field' is already declared in this scope. |
| // var field = 5.0; |
| // ^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:25:5: Context: Previous declaration of 'field'. |
| // var field = 4; |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:33:1: Error: 'main' is already declared in this scope. |
| // main() { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:29:1: Context: Previous declaration of 'main'. |
| // main() { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:37:1: Error: 'main' is already declared in this scope. |
| // main() { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:33:1: Context: Previous declaration of 'main'. |
| // main() { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:43:3: Error: 'C' is already declared in this scope. |
| // C(a, b); |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:42:3: Context: Previous declaration of 'C'. |
| // C(a); |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:46:7: Error: 'field' is already declared in this scope. |
| // var field = "2nd"; |
| // ^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:44:7: Context: Previous declaration of 'field'. |
| // var field = "1st"; |
| // ^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:52:3: Error: 'm' is already declared in this scope. |
| // m() { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:48:3: Context: Previous declaration of 'm'. |
| // m() { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:60:10: Error: 's' is already declared in this scope. |
| // static s() { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:56:10: Context: Previous declaration of 's'. |
| // static s() { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:67:7: Error: 'C' is already declared in this scope. |
| // class C { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:41:7: Context: Previous declaration of 'C'. |
| // class C { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:71:7: Error: 'C' is already declared in this scope. |
| // class C { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:67:7: Context: Previous declaration of 'C'. |
| // class C { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:76:3: Error: Name of enum constant 'Enum' can't be the same as the enum's own name. |
| // Enum, |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:78:3: Error: 'a' is already declared in this scope. |
| // a, |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:77:3: Context: Previous declaration of 'a'. |
| // a, |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:82:6: Error: 'Enum' is already declared in this scope. |
| // enum Enum { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:75:6: Context: Previous declaration of 'Enum'. |
| // enum Enum { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:88:6: Error: 'Enum' is already declared in this scope. |
| // enum Enum { |
| // ^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:82:6: Context: Previous declaration of 'Enum'. |
| // enum Enum { |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:9:46: Error: 'Typedef' is already declared in this scope. |
| // import 'duplicated_declarations_lib.dart' as Typedef; |
| // ^^^^^^^ |
| // pkg/front_end/testcases/general/duplicated_declarations_part.dart:15:9: Context: Previous declaration of 'Typedef'. |
| // typedef Typedef = Object Function(); |
| // ^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:69:19: Error: 'C' isn't a type. |
| // class Sub extends C { |
| // ^ |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:69:19: Context: This isn't a type. |
| // class Sub extends C { |
| // ^ |
| // |
| // pkg/front_end/testcases/general/duplicated_declarations.dart:96:3: Error: Can't declare a member that conflicts with an inherited one. |
| // index, |
| // ^^^^^ |
| // sdk/lib/core/enum.dart:101:13: Context: This is the inherited member. |
| // final int index; |
| // ^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| import "org-dartlang-testcase:///duplicated_declarations_lib.dart" as Typedef; |
| import "org-dartlang-testcase:///duplicated_declarations_lib.dart" as Typedef; |
| import "org-dartlang-testcase:///duplicated_declarations_lib.dart" as Typedef; |
| import "org-dartlang-testcase:///duplicated_declarations_lib.dart" as Typedef; |
| import "org-dartlang-testcase:///duplicated_declarations_lib.dart" as Typedef; |
| import "org-dartlang-testcase:///duplicated_declarations_lib.dart" as Typedef; |
| |
| part duplicated_declarations_part.dart; |
| typedef Typedef = () → void; |
| typedef OldTypedef = () → void; |
| class C#4 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart |
| constructor _() → self::C#4 |
| ; |
| } |
| class C#3 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart |
| constructor _() → self::C#3 |
| ; |
| } |
| class C#2 extends core::Object { // from org-dartlang-testcase:///duplicated_declarations_part.dart |
| field core::String field; |
| constructor •(dynamic a) → self::C#2 |
| ; |
| method m() → dynamic |
| ; |
| static method s() → dynamic |
| ; |
| static method f() → dynamic |
| ; |
| } |
| class C#1 extends core::Object { |
| constructor _() → self::C#1 |
| ; |
| } |
| class C extends core::Object { |
| field core::String field; |
| constructor •(dynamic a) → self::C |
| ; |
| method m() → dynamic |
| ; |
| static method s() → dynamic |
| ; |
| static method f() → dynamic |
| ; |
| } |
| class Sub extends core::Object { |
| constructor •() → self::Sub |
| ; |
| method m() → dynamic |
| ; |
| } |
| class Enum#4 extends core::_Enum /*isEnum*/ { // from org-dartlang-testcase:///duplicated_declarations_part.dart |
| static const field core::List<self::Enum#4> values = const <self::Enum#4>[self::Enum#4::a]; |
| static const field self::Enum#4 a = const self::Enum#4::•(0, "a"); |
| const constructor •(core::int #index, core::String #name) → self::Enum#4 |
| : super core::_Enum::•(#index, #name) |
| ; |
| method toString() → core::String |
| return "Enum#4.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| class Enum#3 extends core::_Enum /*isEnum*/ { // from org-dartlang-testcase:///duplicated_declarations_part.dart |
| static const field core::List<self::Enum#3> values = const <self::Enum#3>[self::Enum#3::a, self::Enum#3::b, self::Enum#3::c]; |
| static const field self::Enum#3 a = const self::Enum#3::•(0, "a"); |
| static const field self::Enum#3 b = const self::Enum#3::•(1, "b"); |
| static const field self::Enum#3 c = const self::Enum#3::•(2, "c"); |
| const constructor •(core::int #index, core::String #name) → self::Enum#3 |
| : super core::_Enum::•(#index, #name) |
| ; |
| method toString() → core::String |
| return "Enum#3.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| class Enum#2 extends core::_Enum /*isEnum*/ { // from org-dartlang-testcase:///duplicated_declarations_part.dart |
| static const field core::List<self::Enum#2> values = const <self::Enum#2>[self::Enum#2::Enum, self::Enum#2::a, self::Enum#2::b]; |
| static const field self::Enum#2 Enum = const self::Enum#2::•(0, "Enum"); |
| static const field self::Enum#2 a = const self::Enum#2::•(1, "a"); |
| static const field self::Enum#2 b = const self::Enum#2::•(2, "b"); |
| const constructor •(core::int #index, core::String #name) → self::Enum#2 |
| : super core::_Enum::•(#index, #name) |
| ; |
| method toString() → core::String |
| return "Enum#2.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| class Enum#1 extends core::_Enum /*isEnum*/ { |
| static const field core::List<self::Enum#1> values = const <self::Enum#1>[self::Enum#1::a, self::Enum#1::b, self::Enum#1::c]; |
| static const field self::Enum#1 a = const self::Enum#1::•(0, "a"); |
| static const field self::Enum#1 b = const self::Enum#1::•(1, "b"); |
| static const field self::Enum#1 c = const self::Enum#1::•(2, "c"); |
| const constructor •(core::int #index, core::String #name) → self::Enum#1 |
| : super core::_Enum::•(#index, #name) |
| ; |
| method toString() → core::String |
| return "Enum#1.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| class Enum extends core::_Enum /*isEnum*/ { |
| static const field core::List<self::Enum> values = const <self::Enum>[self::Enum::Enum, self::Enum::a, self::Enum::b]; |
| static const field self::Enum Enum = const self::Enum::•(0, "Enum"); |
| static const field self::Enum a = const self::Enum::•(1, "a"); |
| static const field self::Enum b = const self::Enum::•(2, "b"); |
| const constructor •(core::int #index, core::String #name) → self::Enum |
| : super core::_Enum::•(#index, #name) |
| ; |
| method toString() → core::String |
| return "Enum.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| class AnotherEnum extends core::_Enum /*isEnum*/ { |
| static const field core::List<self::AnotherEnum> values = const <self::AnotherEnum>[self::AnotherEnum::a, self::AnotherEnum::b, self::AnotherEnum::c, self::AnotherEnum::_name, self::AnotherEnum::index]; |
| static const field self::AnotherEnum a = const self::AnotherEnum::•(0, "a"); |
| static const field self::AnotherEnum b = const self::AnotherEnum::•(1, "b"); |
| static const field self::AnotherEnum c = const self::AnotherEnum::•(2, "c"); |
| static const field self::AnotherEnum _name = const self::AnotherEnum::•(3, "_name"); |
| static const field self::AnotherEnum index = const self::AnotherEnum::•(4, "index"); |
| const constructor •(core::int #index, core::String #name) → self::AnotherEnum |
| : super core::_Enum::•(#index, #name) |
| ; |
| method toString() → core::String |
| return "AnotherEnum.${this.{core::_Enum::_name}{core::String}}"; |
| } |
| static field core::String field; |
| static method main() → dynamic |
| ; |
| static method foo() → dynamic |
| ; |
| static method useAnotherEnum() → dynamic |
| ; |
| |
| library /*isNonNullableByDefault*/; |
| import self as self2; |
| |
| |
| |
| Extra constant evaluation status: |
| Evaluated: ListLiteral @ org-dartlang-testcase:///duplicated_declarations_part.dart:88:6 -> ListConstant(const <Enum#4*>[const Enum#4{_Enum.index: 0, _Enum._name: "a"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:89:3 -> InstanceConstant(const Enum#4{_Enum.index: 0, _Enum._name: "a"}) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///duplicated_declarations_part.dart:82:6 -> ListConstant(const <Enum#3*>[const Enum#3{_Enum.index: 0, _Enum._name: "a"}, const Enum#3{_Enum.index: 1, _Enum._name: "b"}, const Enum#3{_Enum.index: 2, _Enum._name: "c"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:83:3 -> InstanceConstant(const Enum#3{_Enum.index: 0, _Enum._name: "a"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:84:3 -> InstanceConstant(const Enum#3{_Enum.index: 1, _Enum._name: "b"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:85:3 -> InstanceConstant(const Enum#3{_Enum.index: 2, _Enum._name: "c"}) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///duplicated_declarations_part.dart:75:6 -> ListConstant(const <Enum#2*>[const Enum#2{_Enum.index: 0, _Enum._name: "Enum"}, const Enum#2{_Enum.index: 1, _Enum._name: "a"}, const Enum#2{_Enum.index: 2, _Enum._name: "b"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:76:3 -> InstanceConstant(const Enum#2{_Enum.index: 0, _Enum._name: "Enum"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:77:3 -> InstanceConstant(const Enum#2{_Enum.index: 1, _Enum._name: "a"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations_part.dart:79:3 -> InstanceConstant(const Enum#2{_Enum.index: 2, _Enum._name: "b"}) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///duplicated_declarations.dart:85:6 -> ListConstant(const <Enum#1*>[const Enum#1{_Enum.index: 0, _Enum._name: "a"}, const Enum#1{_Enum.index: 1, _Enum._name: "b"}, const Enum#1{_Enum.index: 2, _Enum._name: "c"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:86:3 -> InstanceConstant(const Enum#1{_Enum.index: 0, _Enum._name: "a"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:87:3 -> InstanceConstant(const Enum#1{_Enum.index: 1, _Enum._name: "b"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:88:3 -> InstanceConstant(const Enum#1{_Enum.index: 2, _Enum._name: "c"}) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///duplicated_declarations.dart:78:6 -> ListConstant(const <Enum*>[const Enum{_Enum.index: 0, _Enum._name: "Enum"}, const Enum{_Enum.index: 1, _Enum._name: "a"}, const Enum{_Enum.index: 2, _Enum._name: "b"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:79:3 -> InstanceConstant(const Enum{_Enum.index: 0, _Enum._name: "Enum"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:80:3 -> InstanceConstant(const Enum{_Enum.index: 1, _Enum._name: "a"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:82:3 -> InstanceConstant(const Enum{_Enum.index: 2, _Enum._name: "b"}) |
| Evaluated: ListLiteral @ org-dartlang-testcase:///duplicated_declarations.dart:91:6 -> ListConstant(const <AnotherEnum*>[const AnotherEnum{_Enum.index: 0, _Enum._name: "a"}, const AnotherEnum{_Enum.index: 1, _Enum._name: "b"}, const AnotherEnum{_Enum.index: 2, _Enum._name: "c"}, const AnotherEnum{_Enum.index: 3, _Enum._name: "_name"}, const AnotherEnum{_Enum.index: 4, _Enum._name: "index"}]) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:92:3 -> InstanceConstant(const AnotherEnum{_Enum.index: 0, _Enum._name: "a"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:93:3 -> InstanceConstant(const AnotherEnum{_Enum.index: 1, _Enum._name: "b"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:94:3 -> InstanceConstant(const AnotherEnum{_Enum.index: 2, _Enum._name: "c"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:95:3 -> InstanceConstant(const AnotherEnum{_Enum.index: 3, _Enum._name: "_name"}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///duplicated_declarations.dart:96:3 -> InstanceConstant(const AnotherEnum{_Enum.index: 4, _Enum._name: "index"}) |
| Extra constant evaluation: evaluated: 54, effectively constant: 24 |