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

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

Issue 10911298: Parse new library syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update status file after rebasing. 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 72e3a9abfe799df7f460665595cecc8af2774902..bcb8f6f6249611111ef42d70d2a98f049f6c435b 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<ScriptTag> tags = const EmptyLink<ScriptTag>();
- ScriptTag libraryTag;
+ Link<LibraryTag> tags = const EmptyLink<LibraryTag>();
+ LibraryTag libraryTag;
bool canUseNative = false;
LibraryElement patch = null;
@@ -500,7 +500,7 @@ class LibraryElement extends ScopeContainerElement {
compilationUnits = compilationUnits.prepend(element);
}
- void addTag(ScriptTag tag, DiagnosticListener listener) {
+ void addTag(LibraryTag 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