Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart

Issue 14308011: New Analysis Engine snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart b/editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart
index a367169e1969fd319d09842038a0c200ba9e1a16..0af82b02db6b804d5ad5ef09a8e672a73a2a80f0 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/test_support_include.dart
@@ -1,8 +1,9 @@
class TestSource implements Source {
+ int get hashCode => 0;
bool operator ==(Object object) {
- return this == object;
+ return object is TestSource;
}
AnalysisContext get context {
throw new UnsupportedOperationException();

Powered by Google App Engine
This is Rietveld 408576698