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

Unified Diff: dart/lib/compiler/implementation/elements/elements.dart

Issue 10933093: Revert "Parse new library syntax." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 months 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 | « no previous file | dart/lib/compiler/implementation/patch_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/elements/elements.dart
diff --git a/dart/lib/compiler/implementation/elements/elements.dart b/dart/lib/compiler/implementation/elements/elements.dart
index bcb8f6f6249611111ef42d70d2a98f049f6c435b..72e3a9abfe799df7f460665595cecc8af2774902 100644
--- a/dart/lib/compiler/implementation/elements/elements.dart
+++ b/dart/lib/compiler/implementation/elements/elements.dart
@@ -482,8 +482,8 @@ class LibraryElement extends ScopeContainerElement {
CompilationUnitElement entryCompilationUnit;
Link<CompilationUnitElement> compilationUnits =
const EmptyLink<CompilationUnitElement>();
- Link<LibraryTag> tags = const EmptyLink<LibraryTag>();
- LibraryTag libraryTag;
+ Link<ScriptTag> tags = const EmptyLink<ScriptTag>();
+ ScriptTag libraryTag;
bool canUseNative = false;
LibraryElement patch = null;
@@ -500,7 +500,7 @@ class LibraryElement extends ScopeContainerElement {
compilationUnits = compilationUnits.prepend(element);
}
- void addTag(LibraryTag tag, DiagnosticListener listener) {
+ void addTag(ScriptTag tag, DiagnosticListener listener) {
tags = tags.prepend(tag);
}
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/patch_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698