Index: pkg/compiler/lib/src/resolution/class_hierarchy.dart |
diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
index 823b5deaf664a9760e6a3de857942e492621d0b5..25893e2348476fe71009b234637b503de8606b09 100644 |
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
@@ -300,7 +300,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
String mixinName = mixinType.name; |
MixinApplicationElementX mixinApplication = |
new UnnamedMixinApplicationElementX("${superName}+${mixinName}", |
- element.compilationUnit, compiler.getNextFreeClassId(), node); |
+ element.compilationUnit, compiler.getNextFreeId(), node); |
// Create synthetic type variables for the mixin application. |
List<DartType> typeVariables = <DartType>[]; |
int index = 0; |