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

Unified Diff: test/dart_codegen/expect/collection/linked_hash_map.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/linked_hash_map.dart
diff --git a/test/dart_codegen/expect/collection/linked_hash_map.dart b/test/dart_codegen/expect/collection/linked_hash_map.dart
index 393e9fe1d8b12c5108be9314599d2bd5a41e2c7b..d6d01180e1b28957d391c4671a4a6a62956d6ba1 100644
--- a/test/dart_codegen/expect/collection/linked_hash_map.dart
+++ b/test/dart_codegen/expect/collection/linked_hash_map.dart
@@ -1,8 +1,8 @@
part of dart.collection;
abstract class LinkedHashMap<K, V> implements HashMap<K, V> {
- @patch factory LinkedHashMap({bool equals(K key1, K key2),
- int hashCode(K key), bool isValidKey(potentialKey)}) {
+ factory LinkedHashMap({bool equals(K key1, K key2), int hashCode(K key),
+ bool isValidKey(potentialKey)}) {
if (isValidKey == null) {
if (hashCode == null) {
if (equals == null) {
@@ -28,12 +28,12 @@ abstract class LinkedHashMap<K, V> implements HashMap<K, V> {
}
return new _LinkedCustomHashMap<K, V>(equals, hashCode, isValidKey);
}
- @patch factory LinkedHashMap.identity() = _LinkedIdentityHashMap<K, V>;
+ factory LinkedHashMap.identity() = _LinkedIdentityHashMap<K, V>;
factory LinkedHashMap.from(Map other) {
LinkedHashMap<K, V> result = new LinkedHashMap<K, V>();
other.forEach((k, v) {
result[k] = DDC$RT.cast(v, dynamic, V, "CastGeneral",
- """line 65, column 40 of dart:collection/linked_hash_map.dart: """,
+ """line 99, column 40 of dart:collection/linked_hash_map.dart: """,
v is V, false);
});
return result;
« no previous file with comments | « test/dart_codegen/expect/collection/hash_set.dart ('k') | test/dart_codegen/expect/collection/linked_hash_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698