Index: pkg/compiler/lib/src/ssa/locals_handler.dart |
diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart |
index 62f420add28d141d9d2fe432561241f7a71967d9..52e769c7b67b9926bad13a9a31574aaefd81aea5 100644 |
--- a/pkg/compiler/lib/src/ssa/locals_handler.dart |
+++ b/pkg/compiler/lib/src/ssa/locals_handler.dart |
@@ -88,7 +88,7 @@ class LocalsHandler { |
/// [contextClass]. |
DartType substInContext(DartType type) { |
if (contextClass != null) { |
- ClassElement typeContext = DartTypes.getClassContext(type); |
+ ClassEntity typeContext = DartTypes.getClassContext(type); |
if (typeContext != null) { |
type = builder.types.substByContext( |
type, |