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

Unified Diff: pkg/kernel/lib/src/incremental_class_hierarchy.dart

Issue 2924333002: Use ClassHierarchy.applyChanges() in MixinFullResolution. (Closed)
Patch Set: Changes for review comments. Created 3 years, 6 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/kernel/lib/class_hierarchy.dart ('k') | pkg/kernel/lib/transformations/mixin_full_resolution.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/src/incremental_class_hierarchy.dart
diff --git a/pkg/kernel/lib/src/incremental_class_hierarchy.dart b/pkg/kernel/lib/src/incremental_class_hierarchy.dart
index eaa0f2dc724a8825c1f2061be45b95db3545a729..3fcf08e8c13c3afd3aa4d043c0f8399df645c066 100644
--- a/pkg/kernel/lib/src/incremental_class_hierarchy.dart
+++ b/pkg/kernel/lib/src/incremental_class_hierarchy.dart
@@ -79,6 +79,12 @@ class IncrementalClassHierarchy implements ClassHierarchy {
final Map<Class, _ClassInfo> _info = new LinkedHashMap<Class, _ClassInfo>();
@override
+ ClassHierarchy applyChanges(Iterable<Class> classes) {
+ if (classes.isEmpty) return this;
+ return new IncrementalClassHierarchy();
+ }
+
+ @override
void forEachOverridePair(Class node,
callback(Member declaredMember, Member interfaceMember, bool isSetter)) {
_ClassInfo info = _getInfo(node);
« no previous file with comments | « pkg/kernel/lib/class_hierarchy.dart ('k') | pkg/kernel/lib/transformations/mixin_full_resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698