Index: frog/library.dart |
diff --git a/frog/library.dart b/frog/library.dart |
index abfdd9e5253f8ac7544110c443847c2e77a56086..ef855dd24da4f2981c2e57797094083b11ffe84f 100644 |
--- a/frog/library.dart |
+++ b/frog/library.dart |
@@ -11,7 +11,7 @@ class LibraryImport { |
/** Represents a Dart library. */ |
class Library { |
final SourceFile baseSource; |
- Map<String, DefinedType> types; |
+ Map<String, Type> types; |
List<LibraryImport> imports; |
String sourceDir; |
String name; |
@@ -121,7 +121,7 @@ class Library { |
} |
/** Adds a type to the library. */ |
- DefinedType addType(String name, Node definition, bool isClass) { |
+ Type addType(String name, Node definition, bool isClass) { |
if (types.containsKey(name)) { |
var existingType = types[name]; |
if (isCore && existingType.definition == null) { |
@@ -251,7 +251,7 @@ class Library { |
class _LibraryVisitor implements TreeVisitor { |
final Library library; |
- DefinedType currentType; |
+ Type currentType; |
List<SourceFile> sources; |
bool seenImport = false; |