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

Unified Diff: dart/frog/leg/scanner/scanner_task.dart

Issue 9839004: Fix co19 crashes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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 | « dart/frog/leg/scanner/parser.dart ('k') | dart/tests/co19/co19-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/scanner/scanner_task.dart
diff --git a/dart/frog/leg/scanner/scanner_task.dart b/dart/frog/leg/scanner/scanner_task.dart
index cd4e2432658f131b3758db044e6d241418110ab2..74b0a97e27d114505d18464a7326522e3bd3f830 100644
--- a/dart/frog/leg/scanner/scanner_task.dart
+++ b/dart/frog/leg/scanner/scanner_task.dart
@@ -110,7 +110,7 @@ class ScannerTask extends CompilerTask {
new SourceString(tag.prefix.dartString.slowToString());
Element e = library.find(prefix);
if (e === null) {
- e = new PrefixElement(prefix, library);
+ e = new PrefixElement(prefix, library, tag.getBeginToken());
library.define(e, compiler);
}
if (e.kind !== ElementKind.PREFIX) {
« no previous file with comments | « dart/frog/leg/scanner/parser.dart ('k') | dart/tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698