Index: pkg/compiler/lib/src/serialization/task.dart |
diff --git a/pkg/compiler/lib/src/serialization/task.dart b/pkg/compiler/lib/src/serialization/task.dart |
index d052e4e2b3e3b8ff48615b9b7d72e7f5660dd262..6df97636dbbf9aeafc6f6e769a483ac6ed4ba3f2 100644 |
--- a/pkg/compiler/lib/src/serialization/task.dart |
+++ b/pkg/compiler/lib/src/serialization/task.dart |
@@ -11,7 +11,6 @@ import '../common/resolution.dart' show ResolutionImpact, ResolutionWorkItem; |
import '../common/tasks.dart' show CompilerTask; |
import '../compiler.dart' show Compiler; |
import '../elements/elements.dart'; |
-import '../elements/entities.dart' show Entity; |
import '../universe/world_impact.dart' show WorldImpact; |
import 'json_serializer.dart'; |
import 'serialization.dart'; |
@@ -25,7 +24,7 @@ abstract class LibraryDeserializer { |
Future<LibraryElement> readLibrary(Uri uri); |
/// Returns `true` if [element] has been deserialized. |
- bool isDeserialized(Entity element); |
+ bool isDeserialized(Element element); |
} |
/// Task that supports deserialization of elements. |
@@ -59,7 +58,7 @@ class SerializationTask extends CompilerTask implements LibraryDeserializer { |
} |
/// Returns `true` if [element] has been deserialized. |
- bool isDeserialized(Entity element) { |
+ bool isDeserialized(Element element) { |
return deserializer != null && deserializer.isDeserialized(element); |
} |
@@ -154,7 +153,7 @@ class DeserializedResolutionWorkItem implements ResolutionWorkItem { |
/// elements. |
abstract class DeserializerSystem { |
Future<LibraryElement> readLibrary(Uri resolvedUri); |
- bool isDeserialized(Entity element); |
+ bool isDeserialized(Element element); |
bool hasResolvedAst(ExecutableElement element); |
ResolvedAst getResolvedAst(ExecutableElement element); |
bool hasResolutionImpact(Element element); |