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

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

Issue 1148283010: Remove dart backend (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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
deleted file mode 100644
index b9e9b03f29121836472364ba225213ebd969195f..0000000000000000000000000000000000000000
--- a/test/dart_codegen/expect/collection/hash_set.dart
+++ /dev/null
@@ -1,33 +0,0 @@
-part of dart.collection;
- abstract class _HashSetBase<E> extends SetBase<E> {Set<E> difference(Set<Object> other) {
- Set<E> result = _newSet();
- for (var element in this) {
- if (!other.contains(element)) result.add(element);
- }
- return result;
- }
- Set<E> intersection(Set<Object> other) {
- Set<E> result = _newSet();
- for (var element in this) {
- if (other.contains(element)) result.add(element);
- }
- return result;
- }
- Set<E> _newSet();
- Set<E> toSet() => _newSet()..addAll(this);
-}
- abstract class HashSet<E> implements Set<E> {external factory HashSet({
-bool equals(E e1, E e2), int hashCode(E e), bool isValidKey(potentialKey)}
-);
- external factory HashSet.identity();
- factory HashSet.from(Iterable elements) {
-HashSet<E> result = new HashSet<E>();
- for (E e in DEVC$RT.cast(elements, DEVC$RT.type((Iterable<dynamic> _) {
- }
-), DEVC$RT.type((Iterable<E> _) {
- }
-), "CompositeCast", """line 103, column 17 of dart:collection/hash_set.dart: """, elements is Iterable<E>, false)) result.add(e);
- return result;
-}
- Iterator<E> get iterator;
-}
« no previous file with comments | « test/dart_codegen/expect/collection/hash_map.dart ('k') | test/dart_codegen/expect/collection/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698