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

Unified Diff: test/dart_codegen/expect/collection/hash_set.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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: test/dart_codegen/expect/collection/hash_set.dart
diff --git a/test/dart_codegen/expect/collection/hash_set.dart b/test/dart_codegen/expect/collection/hash_set.dart
index a63e831462032fcd08d5e9aa538b23882f12c867..f9e1e1af5e1407f8f0bd4ab2149dd13b9f89aa0e 100644
--- a/test/dart_codegen/expect/collection/hash_set.dart
+++ b/test/dart_codegen/expect/collection/hash_set.dart
@@ -25,7 +25,7 @@ abstract class _HashSetBase<E> extends SetBase<E> {
Set<E> toSet() => _newSet()..addAll(this);
}
abstract class HashSet<E> implements Set<E> {
- @patch factory HashSet({bool equals(E e1, E e2), int hashCode(E e),
+ factory HashSet({bool equals(E e1, E e2), int hashCode(E e),
bool isValidKey(potentialKey)}) {
if (isValidKey == null) {
if (hashCode == null) {
@@ -52,7 +52,7 @@ abstract class HashSet<E> implements Set<E> {
}
return new _CustomHashSet<E>(equals, hashCode, isValidKey);
}
- @patch factory HashSet.identity() = _IdentityHashSet<E>;
+ factory HashSet.identity() = _IdentityHashSet<E>;
factory HashSet.from(Iterable elements) {
HashSet<E> result = new HashSet<E>();
for (E e in elements) result.add(e);
« no previous file with comments | « test/dart_codegen/expect/collection/hash_map.dart ('k') | test/dart_codegen/expect/collection/linked_hash_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698