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

Unified Diff: dart/pkg/compiler/samples/darttags/darttags.dart

Issue 924393005: Fix darttags' usage of source file provider. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/samples/darttags/darttags.dart
diff --git a/dart/pkg/compiler/samples/darttags/darttags.dart b/dart/pkg/compiler/samples/darttags/darttags.dart
index 3a29821dd9476c5179e8ba4532337fbd1e526e02..d675463c3677570c68eab2600ead35edbb65003d 100644
--- a/dart/pkg/compiler/samples/darttags/darttags.dart
+++ b/dart/pkg/compiler/samples/darttags/darttags.dart
@@ -122,7 +122,7 @@ emitTagsForCompilationUnit(compilationUnit) {
// felt it would make sense to keep the names.
Uri uri = compilationUnit.uri;
var buffer = new StringBuffer();
- SourceFile file = handler.provider.sourceFiles['$uri'];
+ SourceFile file = handler.provider.sourceFiles[uri];
String src_file = relativize(outputUri, uri, false);
compilationUnit.declarations.forEach((_, DeclarationMirror mirror) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698