Index: runtime/lib/mirrors_impl.dart |
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart |
index 62e72d972f7711eb73b4d897dd16c1f5324fd459..ddf05f0b479aa7aca42051136c7ff83eb154d10d 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(12909): Use the reflectee's identity hash. |
int get hashCode => _reflectee.hashCode; |
_invoke(reflectee, functionName, positionalArguments) |
@@ -629,8 +630,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; |