Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: frog/library.dart

Issue 8509035: TBR (red build bot). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/lib/corelib.dart ('k') | frog/member.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « frog/lib/corelib.dart ('k') | frog/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698