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

Unified Diff: pkg/compiler/lib/src/world.dart

Issue 1683063002: Updates from comments. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix test. Created 4 years, 9 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
« no previous file with comments | « pkg/compiler/lib/src/universe/class_set.dart ('k') | tests/compiler/dart2js/class_set_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index da08fb67d7bffedde9e9e187e95d0a7cf3d08883..3e382e179ce01220de9f6b5b5485ea0db65624b8 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -99,7 +99,8 @@ abstract class ClassWorld {
/// Applies [f] to each live class that extend [cls] _not_ including [cls]
/// itself.
- void forEachStrictSubclassOf(ClassElement cls, ForEach f(ClassElement cls));
+ void forEachStrictSubclassOf(ClassElement cls,
+ IterationStep f(ClassElement cls));
/// Returns `true` if [predicate] applies to any live class that extend [cls]
/// _not_ including [cls] itself.
@@ -119,7 +120,8 @@ abstract class ClassWorld {
/// Applies [f] to each live class that implements [cls] _not_ including [cls]
/// itself.
- void forEachStrictSubtypeOf(ClassElement cls, ForEach f(ClassElement cls));
+ void forEachStrictSubtypeOf(ClassElement cls,
+ IterationStep f(ClassElement cls));
/// Returns `true` if [predicate] applies to any live class that implements
/// [cls] _not_ including [cls] itself.
@@ -282,7 +284,8 @@ class World implements ClassWorld {
/// Applies [f] to each live class that extend [cls] _not_ including [cls]
/// itself.
- void forEachStrictSubclassOf(ClassElement cls, ForEach f(ClassElement cls)) {
+ void forEachStrictSubclassOf(ClassElement cls,
+ IterationStep f(ClassElement cls)) {
ClassHierarchyNode subclasses = _classHierarchyNodes[cls.declaration];
if (subclasses == null) return;
subclasses.forEachSubclass(
@@ -336,7 +339,8 @@ class World implements ClassWorld {
/// Applies [f] to each live class that implements [cls] _not_ including [cls]
/// itself.
- void forEachStrictSubtypeOf(ClassElement cls, ForEach f(ClassElement cls)) {
+ void forEachStrictSubtypeOf(ClassElement cls,
+ IterationStep f(ClassElement cls)) {
ClassSet classSet = _classSets[cls.declaration];
if (classSet == null) return;
classSet.forEachSubtype(
« no previous file with comments | « pkg/compiler/lib/src/universe/class_set.dart ('k') | tests/compiler/dart2js/class_set_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698