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

Unified Diff: pkg/front_end/lib/src/fasta/target_implementation.dart

Issue 2977703002: Refactorings for TranslateUri and its tests. (Closed)
Patch Set: Replace `file` with just word 'file' in documentation. Created 3 years, 5 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
Index: pkg/front_end/lib/src/fasta/target_implementation.dart
diff --git a/pkg/front_end/lib/src/fasta/target_implementation.dart b/pkg/front_end/lib/src/fasta/target_implementation.dart
index 4bf7ed8dfea85b29e4ce14cf8eb17d80f70687f2..f8e8b75e311483c2a48e809c7c400eaa5a28ad7c 100644
--- a/pkg/front_end/lib/src/fasta/target_implementation.dart
+++ b/pkg/front_end/lib/src/fasta/target_implementation.dart
@@ -101,7 +101,7 @@ abstract class TargetImplementation extends Target {
void readPatchFiles(LibraryBuilder library) {
assert(library.uri.scheme == "dart");
- List<Uri> patches = uriTranslator.patches[library.uri.path];
+ List<Uri> patches = uriTranslator.dartPatches[library.uri.path];
if (patches != null) {
for (Uri patch in patches) {
library.loader.read(patch, -1, fileUri: patch, isPatch: true);

Powered by Google App Engine
This is Rietveld 408576698