Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
Workaround for dart2js translation issue: identical(this.runtimeType,…
Browse files Browse the repository at this point in the history
… other.runtimeType) does not translate properly
  • Loading branch information
Hoa V. Dinh committed Dec 20, 2013
1 parent b44a63d commit b64f5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ide/app/lib/workspace.dart
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ abstract class Resource {
Workspace get workspace => parent.workspace;

bool operator ==(other) =>
identical(this.runtimeType, other.runtimeType) && path == other.path;
this.runtimeType == other.runtimeType && path == other.path;

int get hashCode => path.hashCode;

Expand Down

0 comments on commit b64f5c4

Please sign in to comment.