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

Unified Diff: sdk/lib/_internal/compiler/implementation/world.dart

Issue 12207081: Add a type kind to TypedSelector. A typed selector can either be (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/world.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/world.dart (revision 18306)
+++ sdk/lib/_internal/compiler/implementation/world.dart (working copy)
@@ -25,6 +25,11 @@
rtiDependencies = new Map<ClassElement, Set<ClassElement>>(),
this.compiler = compiler;
+ bool isUsedAsMixin(ClassElement cls) {
kasperl 2013/02/11 14:30:34 Move closer to registerMixinUse.
ngeoffray 2013/02/11 14:53:29 Done.
+ Set<MixinApplicationElement> uses = mixinUses[cls];
+ return uses != null && !uses.isEmpty;
+ }
+
void populate() {
void addSubtypes(ClassElement cls) {
if (cls.resolutionState != STATE_DONE) {

Powered by Google App Engine
This is Rietveld 408576698