| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| class Class1 extends core::Object /*hasConstConstructor*/ { |
| const constructor •() → self::Class1 |
| : super core::Object::•() |
| ; |
| operator ==(core::Object other) → core::bool |
| ; |
| } |
| class Class2 extends core::Object /*hasConstConstructor*/ { |
| const constructor •() → self::Class2 |
| : super core::Object::•() |
| ; |
| operator ==(core::Object other) → core::bool |
| ; |
| } |
| static const field self::Class1 c1 = const self::Class1::•(); |
| static const field self::Class2 c2 = const self::Class2::•(); |
| static method test1(dynamic o) → dynamic |
| ; |
| static method test2(dynamic o) → dynamic |
| ; |
| static method main() → dynamic |
| ; |
| static method expect(dynamic expected, dynamic actual) → dynamic |
| ; |
| |
| |
| Extra constant evaluation status: |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///user_defined_equals.dart:13:25 -> InstanceConstant(const Class1{}) |
| Evaluated: ConstructorInvocation @ org-dartlang-testcase:///user_defined_equals.dart:32:25 -> InstanceConstant(const Class2{}) |
| Extra constant evaluation: evaluated: 2, effectively constant: 2 |