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

Unified Diff: pkg/compiler/lib/src/kernel/world_builder.dart

Issue 2804993002: Extract ResolutionWorldBuilderBase from ElementResolutionWorldBuilder (Closed)
Patch Set: Fix. Created 3 years, 8 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/kernel/elements.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/world_builder.dart
diff --git a/pkg/compiler/lib/src/kernel/world_builder.dart b/pkg/compiler/lib/src/kernel/world_builder.dart
index c1dc21e2f2746440109d6f958c12c293644f2953..7713ae1c0b15a3ea1d169262648281156359850c 100644
--- a/pkg/compiler/lib/src/kernel/world_builder.dart
+++ b/pkg/compiler/lib/src/kernel/world_builder.dart
@@ -159,7 +159,8 @@ class KernelWorldBuilder extends KernelElementAdapterMixin {
classEnv = _libraryEnvs[library.libraryIndex].lookupClass(node.name);
}
_classEnvs.add(classEnv);
- return new KClass(library, _classMap.length, node.name);
+ return new KClass(library, _classMap.length, node.name,
+ isAbstract: node.isAbstract);
});
}
@@ -602,6 +603,11 @@ class KernelElementEnvironment implements ElementEnvironment {
}
@override
+ void forEachSupertype(ClassEntity cls, void f(InterfaceType supertype)) {
+ throw new UnimplementedError('KernelElementEnvironment.forEachSupertype');
+ }
+
+ @override
void forEachMixin(ClassEntity cls, void f(ClassEntity mixin)) {
throw new UnimplementedError('KernelElementEnvironment.forEachMixin');
}
« no previous file with comments | « pkg/compiler/lib/src/kernel/elements.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698