Chromium Code Reviews| Index: frog/library.dart |
| diff --git a/frog/library.dart b/frog/library.dart |
| index ef855dd24da4f2981c2e57797094083b11ffe84f..abfdd9e5253f8ac7544110c443847c2e77a56086 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, Type> types; |
| + Map<String, DefinedType> types; |
|
jimhug
2011/11/10 15:47:21
FYI: Reading this CL is making me wonder if Define
|
| List<LibraryImport> imports; |
| String sourceDir; |
| String name; |
| @@ -121,7 +121,7 @@ class Library { |
| } |
| /** Adds a type to the library. */ |
| - Type addType(String name, Node definition, bool isClass) { |
| + DefinedType 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; |
| - Type currentType; |
| + DefinedType currentType; |
| List<SourceFile> sources; |
| bool seenImport = false; |