Chromium Code Reviews| Index: runtime/lib/mirrors_impl.dart |
| diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart |
| index 4d211ec92db990fba528430ce4ae3ce70a20e5a6..e990fc7820d59aed5da6690c014f2868af82f04b 100644 |
| --- a/runtime/lib/mirrors_impl.dart |
| +++ b/runtime/lib/mirrors_impl.dart |
| @@ -283,6 +283,7 @@ class _LocalInstanceMirrorImpl extends _LocalObjectMirrorImpl |
| identical(_reflectee, other._reflectee); |
| } |
| + // TODO(rmacnak): Use the reflectee's identity hash. |
|
siva
2013/08/28 23:12:06
Please open an issue for this and use the issue nu
|
| int get hashCode => _reflectee.hashCode; |
| _invoke(reflectee, functionName, positionalArguments) |
| @@ -584,8 +585,7 @@ class _LocalClassMirrorImpl extends _LocalObjectMirrorImpl |
| bool operator ==(other) { |
| return this.runtimeType == other.runtimeType && |
| this._reflectee == other._reflectee && |
| - (isOriginalDeclaration || |
| - this._reflectedType == other._reflectedType); |
| + this._reflectedType == other._reflectedType; |
| } |
| int get hashCode => simpleName.hashCode; |